Mocha
simple, flexible, fun javascript test framework for node.js & the browser.
Collective -
Host: opensource -
https://opencollective.com/mochajs
- Website: https://mochajs.org/
- Code: https://github.com/mochajs/mocha
🐛 Bug: Inconsistent Reporter Use of Console and Stdout
github.com/mochajs/mocha - shellscape opened this issue almost 8 years ago
github.com/mochajs/mocha - shellscape opened this issue almost 8 years ago
🛠️ Repo: Pointless function in nyancat reporter implementation
github.com/mochajs/mocha - ScottFreeCode opened this issue about 8 years ago
github.com/mochajs/mocha - ScottFreeCode opened this issue about 8 years ago
🐛 Bug: Browser reporter suite unhide is broken (only unhides half the suites)
github.com/mochajs/mocha - ScottFreeCode opened this issue about 8 years ago
github.com/mochajs/mocha - ScottFreeCode opened this issue about 8 years ago
🛠️ Repo: Compute in-browser test coverage numbers
github.com/mochajs/mocha - boneskull opened this issue about 8 years ago
github.com/mochajs/mocha - boneskull opened this issue about 8 years ago
📝 Docs: Explanation of running tests in browser lacks details, full working source code
github.com/mochajs/mocha - wmakley opened this issue about 8 years ago
github.com/mochajs/mocha - wmakley opened this issue about 8 years ago
🛠️ Repo: Automate tests in browser HTML files
github.com/mochajs/mocha - ScottFreeCode opened this issue about 8 years ago
github.com/mochajs/mocha - ScottFreeCode opened this issue about 8 years ago
🐛 Bug: Diffing has non-obvious output when expected and actual stringify identically
github.com/mochajs/mocha - SaarLevy opened this issue about 8 years ago
github.com/mochajs/mocha - SaarLevy opened this issue about 8 years ago
🚀 Feature: Test duration not shown for failed tests, but does for passed tests
github.com/mochajs/mocha - aDu opened this issue about 8 years ago
github.com/mochajs/mocha - aDu opened this issue about 8 years ago
🚀 Feature: Exit code - differentiate between being unable to run tests and failing the tests
github.com/mochajs/mocha - aDu opened this issue about 8 years ago
github.com/mochajs/mocha - aDu opened this issue about 8 years ago
afterEach cleanup running is late
github.com/mochajs/mocha - roy-codefresh opened this issue over 8 years ago
github.com/mochajs/mocha - roy-codefresh opened this issue over 8 years ago
🚀 Feature: Context Variables and Functions
github.com/mochajs/mocha - mltsy opened this issue over 8 years ago
github.com/mochajs/mocha - mltsy opened this issue over 8 years ago
🐛 Bug: Can't create more than 1 instance of Mocha programatically
github.com/mochajs/mocha - tigermarques opened this issue over 8 years ago
github.com/mochajs/mocha - tigermarques opened this issue over 8 years ago
Override describe and it behavior
github.com/mochajs/mocha - tomitrescak opened this issue over 8 years ago
github.com/mochajs/mocha - tomitrescak opened this issue over 8 years ago
🚀 Feature: Add support for outputting Error cause
github.com/mochajs/mocha - TazmanianDI opened this issue over 8 years ago
github.com/mochajs/mocha - TazmanianDI opened this issue over 8 years ago
🐛 Bug: Mocha throws error if it is running a spec more than once
github.com/mochajs/mocha - crishushu opened this issue over 8 years ago
github.com/mochajs/mocha - crishushu opened this issue over 8 years ago
🐛 Bug: Progress on HTML reporter always 0% when delay
github.com/mochajs/mocha - chantalgo opened this issue over 8 years ago
github.com/mochajs/mocha - chantalgo opened this issue over 8 years ago
🐛 Bug: Calling `done` with circular reference object results in type error converting JSON instead of correct failure message
github.com/mochajs/mocha - hrdwdmrbl opened this issue over 8 years ago
github.com/mochajs/mocha - hrdwdmrbl opened this issue over 8 years ago
🐛 Bug: Inconsistent output indenting issue with timings
github.com/mochajs/mocha - oddui opened this issue over 8 years ago
github.com/mochajs/mocha - oddui opened this issue over 8 years ago
🚀 Feature: runner.on('end', ...) doesn't respect pending Promises
github.com/mochajs/mocha - dalegaspi opened this issue almost 9 years ago
github.com/mochajs/mocha - dalegaspi opened this issue almost 9 years ago
🐛 Bug: Timeout of 0 (no timeout) for tests that never resolve closes Mocha with always successful exit-code without finishing reporter output
github.com/mochajs/mocha - 131 opened this issue almost 9 years ago
github.com/mochajs/mocha - 131 opened this issue almost 9 years ago
🛠️ Repo: Increase browser coverage
github.com/mochajs/mocha - boneskull opened this issue almost 9 years ago
github.com/mochajs/mocha - boneskull opened this issue almost 9 years ago
🚀 Feature: New test resolution behavior
github.com/mochajs/mocha - boneskull opened this issue almost 9 years ago
github.com/mochajs/mocha - boneskull opened this issue almost 9 years ago
🐛 Bug: before() and after() hooks run in a test file with only skipped tests
github.com/mochajs/mocha - fabiosantoscode opened this issue almost 9 years ago
github.com/mochajs/mocha - fabiosantoscode opened this issue almost 9 years ago
Exit process with correct error codes
github.com/mochajs/mocha - Munter opened this pull request almost 9 years ago
github.com/mochajs/mocha - Munter opened this pull request almost 9 years ago
🐛 Bug: Tap reporter doesn't adhere to spec
github.com/mochajs/mocha - dszakallas opened this issue almost 9 years ago
github.com/mochajs/mocha - dszakallas opened this issue almost 9 years ago
Error: Resolution method is overspecified.
github.com/mochajs/mocha - teckays opened this issue almost 9 years ago
github.com/mochajs/mocha - teckays opened this issue almost 9 years ago
📝 Docs: WallabyJS configuration
github.com/mochajs/mocha - boneskull opened this issue about 9 years ago
github.com/mochajs/mocha - boneskull opened this issue about 9 years ago
🚀 Feature: Re-run a test multiple times: `this.repeat`
github.com/mochajs/mocha - guyb7 opened this issue about 9 years ago
github.com/mochajs/mocha - guyb7 opened this issue about 9 years ago
ENAMETOOLONG when files() from utils.js encounters a symlink loop
github.com/mochajs/mocha - jedwards1211 opened this issue about 9 years ago
github.com/mochajs/mocha - jedwards1211 opened this issue about 9 years ago
🚀 Feature: Add a `--clearscreen` option to go with `--watch`
github.com/mochajs/mocha - ScottFreeCode opened this issue about 9 years ago
github.com/mochajs/mocha - ScottFreeCode opened this issue about 9 years ago
🐛 Bug: Escape special characters for markdown reporter
github.com/mochajs/mocha - frantic1048 opened this issue about 9 years ago
github.com/mochajs/mocha - frantic1048 opened this issue about 9 years ago
feat: randomization support [WIP REFERENCE - DO NOT MERGE]
github.com/mochajs/mocha - boneskull opened this pull request about 9 years ago
github.com/mochajs/mocha - boneskull opened this pull request about 9 years ago
🚀 Feature: Retry logic should accommodate a timeout between retries
github.com/mochajs/mocha - enigmatic00 opened this issue about 9 years ago
github.com/mochajs/mocha - enigmatic00 opened this issue about 9 years ago
🐛 Bug: Pending constructor does not inherit from the Error constructor
github.com/mochajs/mocha - mojwang opened this issue about 9 years ago
github.com/mochajs/mocha - mojwang opened this issue about 9 years ago
🚀 Feature: `--ui require` for require interface
github.com/mochajs/mocha - jmm opened this issue over 9 years ago
github.com/mochajs/mocha - jmm opened this issue over 9 years ago
🚀 Feature: Ability to teardown globals on after hooks
github.com/mochajs/mocha - jwalton opened this issue over 9 years ago
github.com/mochajs/mocha - jwalton opened this issue over 9 years ago
Does not show diff when contains any Symbol
github.com/mochajs/mocha - bigomega opened this issue over 9 years ago
github.com/mochajs/mocha - bigomega opened this issue over 9 years ago
Mocha 2.3.4: Errors That Occur Outside of `beforeEach`/`it` in an AMD Module Lose Stack Trace
github.com/mochajs/mocha - machineghost opened this issue over 9 years ago
github.com/mochajs/mocha - machineghost opened this issue over 9 years ago
🚀 Feature: Indent all lines on message
github.com/mochajs/mocha - piranna opened this issue over 9 years ago
github.com/mochajs/mocha - piranna opened this issue over 9 years ago
Sub folders ignored (even with `--recursive`) when tests present in parent folder
github.com/mochajs/mocha - adamreisnz opened this issue over 9 years ago
github.com/mochajs/mocha - adamreisnz opened this issue over 9 years ago
🚀 Feature: Retry if `afterEach` fails
github.com/mochajs/mocha - aaronabramov opened this issue over 9 years ago
github.com/mochajs/mocha - aaronabramov opened this issue over 9 years ago
🚀 Feature: Allow async function in describe (block)
github.com/mochajs/mocha - Thaina opened this issue over 9 years ago
github.com/mochajs/mocha - Thaina opened this issue over 9 years ago
test.only is not working if code is loading after mocha.run()
github.com/mochajs/mocha - TheLevenCreations opened this issue over 9 years ago
github.com/mochajs/mocha - TheLevenCreations opened this issue over 9 years ago
grep links for test names with dots "." don't get escaped correctly.
github.com/mochajs/mocha - btelles opened this issue over 9 years ago
github.com/mochajs/mocha - btelles opened this issue over 9 years ago
🚀 Feature: Allow adding a description with the reason why a test is pending
github.com/mochajs/mocha - basharov opened this issue over 9 years ago
github.com/mochajs/mocha - basharov opened this issue over 9 years ago
timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
github.com/mochajs/mocha - gustiando opened this issue over 9 years ago
github.com/mochajs/mocha - gustiando opened this issue over 9 years ago
🚀 Feature: Assertions that compare two numbers for equality are confusing
github.com/mochajs/mocha - callumlocke opened this issue over 9 years ago
github.com/mochajs/mocha - callumlocke opened this issue over 9 years ago
🚀 Feature: Return full error with window.onerror handler
github.com/mochajs/mocha - roadhump opened this issue over 9 years ago
github.com/mochajs/mocha - roadhump opened this issue over 9 years ago
🐛 Bug: Tests default to full stacktrace on Windows, rather than shortened
github.com/mochajs/mocha - Vannevelj opened this issue over 9 years ago
github.com/mochajs/mocha - Vannevelj opened this issue over 9 years ago
MOCHA_REPORTER environment variable as override for --reporter
github.com/mochajs/mocha - viliusl opened this issue over 9 years ago
github.com/mochajs/mocha - viliusl opened this issue over 9 years ago
🐛 Bug: Hook failures change the shape of the test suite
github.com/mochajs/mocha - cowboyd opened this issue over 9 years ago
github.com/mochajs/mocha - cowboyd opened this issue over 9 years ago
🚀 Feature: Support generator functions for tests
github.com/mochajs/mocha - antpaw opened this issue almost 10 years ago
github.com/mochajs/mocha - antpaw opened this issue almost 10 years ago
Custom reporter and event handling
github.com/mochajs/mocha - axelssonHakan opened this issue almost 10 years ago
github.com/mochajs/mocha - axelssonHakan opened this issue almost 10 years ago
Grep URLs escaped incorrectly
github.com/mochajs/mocha - Saulis opened this issue almost 10 years ago
github.com/mochajs/mocha - Saulis opened this issue almost 10 years ago
Add a way of a programmatically skipping a test
github.com/mochajs/mocha - gajus opened this issue almost 10 years ago
github.com/mochajs/mocha - gajus opened this issue almost 10 years ago
HTML reporter fails if some Unicode characters are in use, causing tests to stop running
github.com/mochajs/mocha - jcranmer opened this issue almost 10 years ago
github.com/mochajs/mocha - jcranmer opened this issue almost 10 years ago
🚀 Feature: Add events to be fired on block and test completions
github.com/mochajs/mocha - just-boris opened this issue almost 10 years ago
github.com/mochajs/mocha - just-boris opened this issue almost 10 years ago
Glob pattern not working as expected
github.com/mochajs/mocha - cappslock opened this issue almost 10 years ago
github.com/mochajs/mocha - cappslock opened this issue almost 10 years ago
🚀 Feature: Add separate category for "skipped" tests besides "pending"
github.com/mochajs/mocha - binarykitchen opened this issue almost 10 years ago
github.com/mochajs/mocha - binarykitchen opened this issue almost 10 years ago
Group suites over multiple files
github.com/mochajs/mocha - marcojahn opened this issue about 10 years ago
github.com/mochajs/mocha - marcojahn opened this issue about 10 years ago
🐛 Bug: Errors messages and stack traces from JSDOM loaded scripts are not useful
github.com/mochajs/mocha - mjhm opened this issue about 10 years ago
github.com/mochajs/mocha - mjhm opened this issue about 10 years ago
🐛 Bug: Diffs no longer show line changes
github.com/mochajs/mocha - raine opened this issue about 10 years ago
github.com/mochajs/mocha - raine opened this issue about 10 years ago
🚀 Feature: Continue large test suite where I left off ("rerun failing")
github.com/mochajs/mocha - SystemParadox opened this issue about 10 years ago
github.com/mochajs/mocha - SystemParadox opened this issue about 10 years ago
🐛 Bug: afterEach halts suite and/or causes simultaneous failure and pass
github.com/mochajs/mocha - glenjamin opened this issue over 10 years ago
github.com/mochajs/mocha - glenjamin opened this issue over 10 years ago
🐛 Bug: Comparing buffers hangs when computing the diff report
github.com/mochajs/mocha - astorije opened this issue over 10 years ago
github.com/mochajs/mocha - astorije opened this issue over 10 years ago
grep behaviour is badly documented
github.com/mochajs/mocha - ghost opened this issue over 10 years ago
github.com/mochajs/mocha - ghost opened this issue over 10 years ago
"sh: 1: mocha: Permission denied" - Running mocha test via "npm test" fails
github.com/mochajs/mocha - granmoe opened this issue over 10 years ago
github.com/mochajs/mocha - granmoe opened this issue over 10 years ago
Group up descriptions with same names
github.com/mochajs/mocha - qfox opened this issue over 10 years ago
github.com/mochajs/mocha - qfox opened this issue over 10 years ago
Browserify cannot find runnable module when using require('mocha')
github.com/mochajs/mocha - taylor-smith opened this issue almost 11 years ago
github.com/mochajs/mocha - taylor-smith opened this issue almost 11 years ago
🐛 Bug: Test file name getting passed to interface/bdd does not change
github.com/mochajs/mocha - nirvanagit opened this issue about 11 years ago
github.com/mochajs/mocha - nirvanagit opened this issue about 11 years ago
path.resolve is not a function
github.com/mochajs/mocha - pocesar opened this issue over 11 years ago
github.com/mochajs/mocha - pocesar opened this issue over 11 years ago
Unhalted exception: RangeError: Invalid array length (failing code attached)
github.com/mochajs/mocha - mcharytoniuk opened this issue almost 12 years ago
github.com/mochajs/mocha - mcharytoniuk opened this issue almost 12 years ago
🚀 Feature: opt-out of globals
github.com/mochajs/mocha - domenic opened this issue almost 12 years ago
github.com/mochajs/mocha - domenic opened this issue almost 12 years ago
🚀 Feature: Test metadata
github.com/mochajs/mocha - lightsofapollo opened this issue about 12 years ago
github.com/mochajs/mocha - lightsofapollo opened this issue about 12 years ago
🚀 Feature: --order option for random test order
github.com/mochajs/mocha - sarenji opened this issue about 12 years ago
github.com/mochajs/mocha - sarenji opened this issue about 12 years ago
Disable timeouts when running under the debug
github.com/mochajs/mocha - kevindente opened this issue about 12 years ago
github.com/mochajs/mocha - kevindente opened this issue about 12 years ago
🚀 Feature: Highlight browser failures in red
github.com/mochajs/mocha - tj opened this issue over 12 years ago
github.com/mochajs/mocha - tj opened this issue over 12 years ago
Allow to skip() test inside the function
github.com/mochajs/mocha - wclr opened this issue almost 13 years ago
github.com/mochajs/mocha - wclr opened this issue almost 13 years ago
relay signals from the "_mocha" process to the main "mocha" bin
github.com/mochajs/mocha - TooTallNate opened this pull request almost 13 years ago
github.com/mochajs/mocha - TooTallNate opened this pull request almost 13 years ago
after is not getting called when the test process is interrupted by hitting Ctrl + C
github.com/mochajs/mocha - c4milo opened this issue about 13 years ago
github.com/mochajs/mocha - c4milo opened this issue about 13 years ago
🚀 Feature: Account for beforeEach/afterEach in timing badges
github.com/mochajs/mocha - joliss opened this issue about 13 years ago
github.com/mochajs/mocha - joliss opened this issue about 13 years ago
suppress stdout from test cases
github.com/mochajs/mocha - defunctzombie opened this issue over 13 years ago
github.com/mochajs/mocha - defunctzombie opened this issue over 13 years ago
Would be nice if mocha sets the NODE_ENV variable to 'test'
github.com/mochajs/mocha - Cowboy-coder opened this issue over 13 years ago
github.com/mochajs/mocha - Cowboy-coder opened this issue over 13 years ago
Html Reporter throws stacktrace immediately on execution
github.com/mochajs/mocha - AutomatedTester opened this issue over 13 years ago
github.com/mochajs/mocha - AutomatedTester opened this issue over 13 years ago