-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Home
Juerg B edited this page Feb 24, 2021
·
94 revisions
- Spies
- Shared Behaviours
- Conditionally fail a test after completion
- Third party reporters
- Third party UIs
- Tagging
- Find a specific global leak
- Count assertions
- Growl Notifications
- unexpected - extensible BDD assertion toolkit recommended
- chai - expect(), assert() and should style assertions recommended
- expect.js - expect() style assertions recommended
- expectations - Jasmine-style expect()
- unit.js - simple, fluent assertions
- inspect.js - modern BDD style assertion library
- earl - ergonomic, modern and type-safe assertion library for TypeScript
- sinon.js - Test spies, stubs and mocks for JavaScript.
- simple-mock - Super simple mocks, stubs, and spies with 1-step sandbox restore.
- nock - HTTP mocking and expectations library.
- mocha-plugin-co - plugin to enable generators support for (using co)
- mocha-plugin-highland - plugin to enable Highland streams support
- mocha-when - drop-in enhancement for more eloquent BDD tests
- mocha-suit - OOP like mocha wrapper
- mocha-clean - Cleaner stack traces
- mocha.parallel - Run async mocha specs in parallel.
- lcov-reporter -- lcov reporter
-
xunit-file - A Mocha reporter similar to
xunit
, but writes to a file (excludes allconsole.log
output that breaks the xml). - WebConsole-reporter - A Mocha reporter that displays reports in browser console. Works faster than html reporter and provides clickable stack traces.
- mocha-unfunk-reporter - An alternate to the default Spec-style reporter for improved usability and added compatibility features for use in various low-tech scenarios. Does not use console cursor tricks or positional ANSI codes.
- mocha-teamcity-reporter - Teamcity reporter for Mocha.
- mocha-selenium-bridge - Run tests in the browser, report results via Node
- loca - Reporter in your browser's console.
- report-viewer - Cli for piping a unit test result directly into your browser. Combines the debug level of the console with the pretty output of a browser ui.
- @testdeck/mocha - TypeScript OOP, decorators based, mocha test interface.
- mochawesome - Produces a gorgeous standalone HTML/CSS report.
- mocha-progress-reporter - Custom Mocha reporter with spinners and progress reporting ability.
- mocha-chrome -- run mocha tests with headless Google Chrome
- phantom-mochachino -- functional testing utility for running mocha tests with phantomjs
- mocha-phantomjs -- run mocha tests with phantomjs
- mocha-cloud -- run mocha tests on SauceLabs
- mocha-cloud-grid-view -- terminal grid view for mocha-cloud
- mochify -- run browserified mocha tests with phantomjs, selenium webdriver and saucelabs
- cover
- istanbul
- nyc
- blanket
- mochify -- coverage for node and phantomjs using browserify and coverify
- Examples
- Konacha -- Ruby on Rails mocha integration
- Teaspoon -- Ruby on Rails mocha integration
- mocha.js-haxe -- Haxe mocha integration
- Yadda -- Run BDD feature files with mocha