forked from mochajs/mocha
-
Notifications
You must be signed in to change notification settings - Fork 67
Home
Darshan Sawardekar edited this page Oct 28, 2013
·
40 revisions
- Spies
- Shared Behaviours
- Development Environment Setup
- Conditionally failing tests in afterEach() hooks
- Third party reporters
- Tagging
- Using mocha programmatically
- Detecting global leaks
- Developer docs
- Assertion counting
##Add-ons
- should.js - BDD style shown throughout these docs
- chai - expect(), assert() and should style assertions
- expect.js - expect() style assertions
- expectations - Jasmine-style expect()
- sinon.js - Test spies, stubs and mocks for JavaScript.
- mocha-matrix - concise matrix reporter for the browser
- mocha-cakes - BDD acceptance tests, Cucumber Given/When/Then stories add-on for Mocha.
- lcov-reporter -- lcov reporter
- JSCovReporter In browser Javascript coverage reporter using CoverJS instrumented code.
- qunit-mocha-ui - A Mocha interface that more closely replicates the QUnit API, including QUnit's assertions.
-
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-slow-reporter - Outputs a profile-like tree of the tests/hooks to help you fix test-suite slowness.
- 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-fivemat-reporter - Reporter format inspired by fivemat. Better signal vs noise ratio for larger test suites.
- mocha-phantomjs -- run mocha tests with phantomjs
- mocha-cloud -- run mocha tests on SauceLabs
- mocha-cloud-grid-view -- terminal grid view for mocha-cloud
- mocha's out of the box html-cov reporter
- cover
- istanbul
- example nodejs app using mocha and istanbul
- blanket
- Konacha -- Ruby on Rails mocha integration
- mocha.js-haxe -- Haxe mocha integration
- Yadda -- Run BDD feature files with mocha