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
Test body not cloned in Test.prototype.clone
github.com/mochajs/mocha - rockwalrus opened this issue over 3 years ago
github.com/mochajs/mocha - rockwalrus opened this issue over 3 years ago
Incorrect numbering in TAP reporter output.
github.com/mochajs/mocha - bengl opened this issue over 3 years ago
github.com/mochajs/mocha - bengl opened this issue over 3 years ago
Multiple .only should run all targeted tests even in a different context
github.com/mochajs/mocha - clemlatz opened this issue over 3 years ago
github.com/mochajs/mocha - clemlatz opened this issue over 3 years ago
feat: add MOCHA_OPTIONS env variable
github.com/mochajs/mocha - icholy opened this pull request over 3 years ago
github.com/mochajs/mocha - icholy opened this pull request over 3 years ago
π Bug: `--timeout 0` does not disable timeouts
github.com/mochajs/mocha - bdcarr opened this issue over 3 years ago
github.com/mochajs/mocha - bdcarr opened this issue over 3 years ago
feat: include `.cause` stacks in the error stack traces
github.com/mochajs/mocha - voxpelli opened this pull request over 3 years ago
github.com/mochajs/mocha - voxpelli opened this pull request over 3 years ago
Implement Object oriented way to structure and execute tests similar to TestNG from Java
github.com/mochajs/mocha - NazarYermolenko opened this issue over 3 years ago
github.com/mochajs/mocha - NazarYermolenko opened this issue over 3 years ago
Add JSON Reporter output to object similar to #2651
github.com/mochajs/mocha - ashleyfrieze opened this pull request over 3 years ago
github.com/mochajs/mocha - ashleyfrieze opened this pull request over 3 years ago
TypeError: Cannot read property 'length' of undefined
github.com/mochajs/mocha - Vitalii4as opened this issue over 3 years ago
github.com/mochajs/mocha - Vitalii4as opened this issue over 3 years ago
Keep information about currently executed test in suites
github.com/mochajs/mocha - martinalbert opened this issue over 3 years ago
github.com/mochajs/mocha - martinalbert opened this issue over 3 years ago
`expose-gc` not working after upgrading from mocha 8.x to mocha 9.1.2
github.com/mochajs/mocha - mmomtchev opened this issue over 3 years ago
github.com/mochajs/mocha - mmomtchev opened this issue over 3 years ago
docs: mocha definition is hardly readable
github.com/mochajs/mocha - surajnarsale opened this issue over 3 years ago
github.com/mochajs/mocha - surajnarsale opened this issue over 3 years ago
Spec path starting with a dot breaks exclude globs
github.com/mochajs/mocha - the-spyke opened this issue over 3 years ago
github.com/mochajs/mocha - the-spyke opened this issue over 3 years ago
π Bug: Mocha loads incomplete Promise polyfill
github.com/mochajs/mocha - straker opened this issue over 3 years ago
github.com/mochajs/mocha - straker opened this issue over 3 years ago
feat: add option to not fail on failing test suite
github.com/mochajs/mocha - ilgonmic opened this pull request almost 4 years ago
github.com/mochajs/mocha - ilgonmic opened this pull request almost 4 years ago
fix the regular expression for function `clean` in `utils.js`
github.com/mochajs/mocha - yetingli opened this pull request almost 4 years ago
github.com/mochajs/mocha - yetingli opened this pull request almost 4 years ago
Couldn't store data for global purposes while parallel running
github.com/mochajs/mocha - NazarYermolenko opened this issue almost 4 years ago
github.com/mochajs/mocha - NazarYermolenko opened this issue almost 4 years ago
[Feature Request] mode to watch, then rerun failed tests only, then rerun all tests again once failed tests are fixed
github.com/mochajs/mocha - jedwards1211 opened this issue almost 4 years ago
github.com/mochajs/mocha - jedwards1211 opened this issue almost 4 years ago
π Bug: xUnit XML format is actually JUnit's schema
github.com/mochajs/mocha - andyleejordan opened this issue almost 4 years ago
github.com/mochajs/mocha - andyleejordan opened this issue almost 4 years ago
π Bug: unhandledRejection events are re-emitted
github.com/mochajs/mocha - sasaxing opened this issue almost 4 years ago
github.com/mochajs/mocha - sasaxing opened this issue almost 4 years ago
π Feature: Capture per-test debug and only output on failure
github.com/mochajs/mocha - aspiers opened this issue almost 4 years ago
github.com/mochajs/mocha - aspiers opened this issue almost 4 years ago
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" - ESM & TS
github.com/mochajs/mocha - Maxim-Mazurok opened this issue almost 4 years ago
github.com/mochajs/mocha - Maxim-Mazurok opened this issue almost 4 years ago
π Feature: Custom error filename and stack track location
github.com/mochajs/mocha - ghost opened this issue almost 4 years ago
github.com/mochajs/mocha - ghost opened this issue almost 4 years ago
Standard font is glitching in the reporter
github.com/mochajs/mocha - owenallenaz opened this issue about 4 years ago
github.com/mochajs/mocha - owenallenaz opened this issue about 4 years ago
Is there a way to retry the whole spec if before hook fails?
github.com/mochajs/mocha - abhinaba-ghosh opened this issue about 4 years ago
github.com/mochajs/mocha - abhinaba-ghosh opened this issue about 4 years ago
Test Context not available in Custom Reporter when run in Parallel
github.com/mochajs/mocha - DanLomanto opened this issue about 4 years ago
github.com/mochajs/mocha - DanLomanto opened this issue about 4 years ago
π Feature: Title for root hooks
github.com/mochajs/mocha - DJ-Glock opened this issue over 4 years ago
github.com/mochajs/mocha - DJ-Glock opened this issue over 4 years ago
Issue#2010 CSS media query prefers-dark-mode
github.com/mochajs/mocha - bcowgill opened this pull request over 4 years ago
github.com/mochajs/mocha - bcowgill opened this pull request over 4 years ago
π Feature: Propose a Change to Mocha done() callback
github.com/mochajs/mocha - jbactual opened this issue over 4 years ago
github.com/mochajs/mocha - jbactual opened this issue over 4 years ago
π Feature: Make cleanReferencesAfterRun a Mocha option
github.com/mochajs/mocha - RossVertizan opened this issue over 4 years ago
github.com/mochajs/mocha - RossVertizan opened this issue over 4 years ago
π Feature: Parallel tests inside suite (was: in addition to it, will)
github.com/mochajs/mocha - nopeless opened this issue over 4 years ago
github.com/mochajs/mocha - nopeless opened this issue over 4 years ago
warning on done in async function
github.com/mochajs/mocha - hardfist opened this issue over 4 years ago
github.com/mochajs/mocha - hardfist opened this issue over 4 years ago
π Feature: Add option to find the call site of a test (file name and location)
github.com/mochajs/mocha - nicojs opened this issue over 4 years ago
github.com/mochajs/mocha - nicojs opened this issue over 4 years ago
Mocha runner's EventEmitter does not work correctly in parallel mode
github.com/mochajs/mocha - GoldStrikeArch opened this issue over 4 years ago
github.com/mochajs/mocha - GoldStrikeArch opened this issue over 4 years ago
Show where syntax error from with ESM
github.com/mochajs/mocha - outsideris opened this pull request over 4 years ago
github.com/mochajs/mocha - outsideris opened this pull request over 4 years ago
π Bug: Parallel mode crashes if test exception contains circular references
github.com/mochajs/mocha - medikoo opened this issue over 4 years ago
github.com/mochajs/mocha - medikoo opened this issue over 4 years ago
If one among multiple ESM tests has a syntax error, then Mocha doesnβt report which one
github.com/mochajs/mocha - rauschma opened this issue over 4 years ago
github.com/mochajs/mocha - rauschma opened this issue over 4 years ago
fix: ensure require.resolve is only ever called with absolute filepaths
github.com/mochajs/mocha - ctjlewis opened this pull request over 4 years ago
github.com/mochajs/mocha - ctjlewis opened this pull request over 4 years ago
unloadFiles throws MODULE_NOT_FOUND in ESM context for files added with relative path
github.com/mochajs/mocha - ctjlewis opened this issue over 4 years ago
github.com/mochajs/mocha - ctjlewis opened this issue over 4 years ago
π Feature: Option to run async tests in parallel on a single process
github.com/mochajs/mocha - kuba-orlik opened this issue over 4 years ago
github.com/mochajs/mocha - kuba-orlik opened this issue over 4 years ago
fix: remove ansi escape sequences from escaped xunit output
github.com/mochajs/mocha - trieloff opened this pull request over 4 years ago
github.com/mochajs/mocha - trieloff opened this pull request over 4 years ago
π Bug: xunit reporter does not strip ansi escape sequences, leading to invalid XML
github.com/mochajs/mocha - trieloff opened this issue over 4 years ago
github.com/mochajs/mocha - trieloff opened this issue over 4 years ago
π Feature: Throw on nested it call
github.com/mochajs/mocha - dimadk24 opened this issue over 4 years ago
github.com/mochajs/mocha - dimadk24 opened this issue over 4 years ago
π Feature: this.test.error() in "after all" hook should throw
github.com/mochajs/mocha - papb opened this issue over 4 years ago
github.com/mochajs/mocha - papb opened this issue over 4 years ago
get error "TypeError: Suite argument "title" must be a string. Received type "undefined"" when run my test use mocha chai
github.com/mochajs/mocha - janupan opened this issue over 4 years ago
github.com/mochajs/mocha - janupan opened this issue over 4 years ago
run global setup before test files load; closes #4508
github.com/mochajs/mocha - boneskull opened this pull request over 4 years ago
github.com/mochajs/mocha - boneskull opened this pull request over 4 years ago
fix some rewiremock usages
github.com/mochajs/mocha - boneskull opened this pull request over 4 years ago
github.com/mochajs/mocha - boneskull opened this pull request over 4 years ago
π Feature: Global fixtures should run before any files are loaded
github.com/mochajs/mocha - lucasrcosta opened this issue over 4 years ago
github.com/mochajs/mocha - lucasrcosta opened this issue over 4 years ago
Change CLI file parsing errors to use an error code
github.com/mochajs/mocha - evaline-ju opened this pull request over 4 years ago
github.com/mochajs/mocha - evaline-ju opened this pull request over 4 years ago
π Bug: xUnit xml format uses errors not failures
github.com/mochajs/mocha - kkennedy-ephesoft opened this issue almost 5 years ago
github.com/mochajs/mocha - kkennedy-ephesoft opened this issue almost 5 years ago
π Bug: Negative functional tests started to throw "Uncaught Error" after mocha update to 8.2.0
github.com/mochajs/mocha - mykola-mokhnach opened this issue almost 5 years ago
github.com/mochajs/mocha - mykola-mokhnach opened this issue almost 5 years ago
π Feature: Normalize non-reporter command-line output
github.com/mochajs/mocha - boneskull opened this issue almost 5 years ago
github.com/mochajs/mocha - boneskull opened this issue almost 5 years ago
feat: support running with TrustedTypes enforced
github.com/mochajs/mocha - rictic opened this pull request almost 5 years ago
github.com/mochajs/mocha - rictic opened this pull request almost 5 years ago
do not leak polyfills into global context; closes #4423
github.com/mochajs/mocha - boneskull opened this pull request almost 5 years ago
github.com/mochajs/mocha - boneskull opened this pull request almost 5 years ago
Fix parallel feature: disable parallel automatically/ add command line option
github.com/mochajs/mocha - stoicchild8910 opened this pull request almost 5 years ago
github.com/mochajs/mocha - stoicchild8910 opened this pull request almost 5 years ago
π οΈ Repo: Consider strategy for asserting compat with third-party modules
github.com/mochajs/mocha - boneskull opened this issue almost 5 years ago
github.com/mochajs/mocha - boneskull opened this issue almost 5 years ago
π Bug: Mocha adds forEach property to CSSStyleDeclaration, at least inside a Proxy
github.com/mochajs/mocha - edwinm opened this issue almost 5 years ago
github.com/mochajs/mocha - edwinm opened this issue almost 5 years ago
TypeError: Suite was defined but no callback was supplied. Supply a callback or explicitly skip the suite.
github.com/mochajs/mocha - justin-wingo opened this issue almost 5 years ago
github.com/mochajs/mocha - justin-wingo opened this issue almost 5 years ago
fix: fully support 'extends' for configurations
github.com/mochajs/mocha - mf-pherlihy opened this pull request almost 5 years ago
github.com/mochajs/mocha - mf-pherlihy opened this pull request almost 5 years ago
How to use addFile in browser with npm package of mocha
github.com/mochajs/mocha - zyf0330 opened this issue almost 5 years ago
github.com/mochajs/mocha - zyf0330 opened this issue almost 5 years ago
TypeError: Cannot read property 'equal' of undefined
github.com/mochajs/mocha - frankli-dev opened this issue almost 5 years ago
github.com/mochajs/mocha - frankli-dev opened this issue almost 5 years ago
π Feature: Failures in before() and beforeAll() should cause all impacted tests to be reported as failed
github.com/mochajs/mocha - jmiller-airfox opened this issue almost 5 years ago
github.com/mochajs/mocha - jmiller-airfox opened this issue almost 5 years ago
π Feature: Replace canonical representations used in diffs with something like util.format()
github.com/mochajs/mocha - ThisIsMissEm opened this issue almost 5 years ago
github.com/mochajs/mocha - ThisIsMissEm opened this issue almost 5 years ago
π Feature: Support ESM (ECMAScript Modules) in watch mode
github.com/mochajs/mocha - Swivelgames opened this issue about 5 years ago
github.com/mochajs/mocha - Swivelgames opened this issue about 5 years ago
mark Runnable#retries and Runnable#currentRetry methods as public
github.com/mochajs/mocha - jan-molak opened this pull request about 5 years ago
github.com/mochajs/mocha - jan-molak opened this pull request about 5 years ago
π Feature: Re-run only affected modules in watch mode
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
π Feature: Integrate with code coverage for a "--changed" style option
github.com/mochajs/mocha - craigtaub opened this issue about 5 years ago
github.com/mochajs/mocha - craigtaub opened this issue about 5 years ago
π Feature: Support multiple reporters in Node.js
github.com/mochajs/mocha - craigtaub opened this issue about 5 years ago
github.com/mochajs/mocha - craigtaub opened this issue about 5 years ago
π Feature: Support setting options via environment vars
github.com/mochajs/mocha - jedwards1211 opened this issue about 5 years ago
github.com/mochajs/mocha - jedwards1211 opened this issue about 5 years ago
π Feature: Make parallel mode smarter
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
π Feature: Ability to pass line number in command line to run single test
github.com/mochajs/mocha - Trevoke opened this issue about 5 years ago
github.com/mochajs/mocha - Trevoke opened this issue about 5 years ago
π οΈ Repo: Refactor Runner unit tests
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
π Feature: Mocha.prototype.run API version that isn't weird and inconsistent
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
π Docs: Document that hooks support the 'done' parameter
github.com/mochajs/mocha - wheresrhys opened this issue about 5 years ago
github.com/mochajs/mocha - wheresrhys opened this issue about 5 years ago
"hook" event is triggered after "test" event
github.com/mochajs/mocha - sskorol opened this issue about 5 years ago
github.com/mochajs/mocha - sskorol opened this issue about 5 years ago
π οΈ Repo: Look at a Finite State Machine (FSM) implementation
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
π οΈ Repo: e2e test helpers could be better (test/integration/helpers.js)
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
github.com/mochajs/mocha - boneskull opened this issue about 5 years ago
Report skipped tests upon beforeEach hook failure
github.com/mochajs/mocha - juergba opened this pull request over 5 years ago
github.com/mochajs/mocha - juergba opened this pull request over 5 years ago
π οΈ Repo: Lint/validate JSDoc
github.com/mochajs/mocha - boneskull opened this issue over 5 years ago
github.com/mochajs/mocha - boneskull opened this issue over 5 years ago
Improve hook pattern of 'this.skip()' in beforeAll hooks
github.com/mochajs/mocha - juergba opened this pull request over 5 years ago
github.com/mochajs/mocha - juergba opened this pull request over 5 years ago
Report skipped tests upon beforeAll hook failure
github.com/mochajs/mocha - juergba opened this pull request over 5 years ago
github.com/mochajs/mocha - juergba opened this pull request over 5 years ago
π Feature: Possibility to return 0 exit code when tests run successfully even with fails
github.com/mochajs/mocha - ilgonmic opened this issue over 5 years ago
github.com/mochajs/mocha - ilgonmic opened this issue over 5 years ago
π Bug: Test stops recognizing exceptions once done has been called
github.com/mochajs/mocha - feckertson opened this issue over 5 years ago
github.com/mochajs/mocha - feckertson opened this issue over 5 years ago
π Bug: Option "--recursive" does not support typescript files
github.com/mochajs/mocha - fedulovivan opened this issue over 5 years ago
github.com/mochajs/mocha - fedulovivan opened this issue over 5 years ago
π Feature: Xunit reporter Failure node does not include message and type attributes
github.com/mochajs/mocha - rkpareek opened this issue over 5 years ago
github.com/mochajs/mocha - rkpareek opened this issue over 5 years ago
π Feature: Support log level configuration
github.com/mochajs/mocha - Sayan751 opened this issue over 5 years ago
github.com/mochajs/mocha - Sayan751 opened this issue over 5 years ago
Remove deprecated methods
github.com/mochajs/mocha - wnghdcjfe opened this pull request over 5 years ago
github.com/mochajs/mocha - wnghdcjfe opened this pull request over 5 years ago
Mocha 7.0.1 quits watching when all tests file are removed
github.com/mochajs/mocha - normanzb opened this issue over 5 years ago
github.com/mochajs/mocha - normanzb opened this issue over 5 years ago
Isolation of "this" on test basis.
github.com/mochajs/mocha - andreventuravale opened this issue over 5 years ago
github.com/mochajs/mocha - andreventuravale opened this issue over 5 years ago
WIP Playing around with .d.ts generation
github.com/mochajs/mocha - cspotcode opened this pull request over 5 years ago
github.com/mochajs/mocha - cspotcode opened this pull request over 5 years ago
π Feature: TypeScript .d.ts type declarations
github.com/mochajs/mocha - boneskull opened this issue over 5 years ago
github.com/mochajs/mocha - boneskull opened this issue over 5 years ago
Show more precise time duration in reporter epilogue
github.com/mochajs/mocha - yomed opened this issue over 5 years ago
github.com/mochajs/mocha - yomed opened this issue over 5 years ago
feat: make browsertest failures standout
github.com/mochajs/mocha - dhuang612 opened this pull request over 5 years ago
github.com/mochajs/mocha - dhuang612 opened this pull request over 5 years ago
Support `require` and `reporter-options` in `mocharc`
github.com/mochajs/mocha - brettz9 opened this issue over 5 years ago
github.com/mochajs/mocha - brettz9 opened this issue over 5 years ago
π Feature: Show a meaningful error when the HTML reporter is used via the CLI
github.com/mochajs/mocha - thisismydesign opened this issue over 5 years ago
github.com/mochajs/mocha - thisismydesign opened this issue over 5 years ago
π οΈ Repo: Switch automations to GitHub Actions (GHA)
github.com/mochajs/mocha - craigtaub opened this issue over 5 years ago
github.com/mochajs/mocha - craigtaub opened this issue over 5 years ago
π£οΈ Discussion: Plugin notes
github.com/mochajs/mocha - boneskull opened this issue over 5 years ago
github.com/mochajs/mocha - boneskull opened this issue over 5 years ago