8000 Home · samccone/mocha Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
TJ Holowaychuk edited this page Jul 2, 2013 · 38 revisions

##Add-ons

Assertion Libraries

  • should.js - BDD style shown throughout these docs
  • chai - expect(), assert() and should style assertions
  • expect.js - expect() style assertions
  • expectations - Jasmine-style expect()

Mocks, Stubs, & Spies

  • sinon.js - Test spies, stubs and mocks for JavaScript.

Interfaces & Reporters

  • 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 all console.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.

Headless testing

Test coverage

Frameworks

Mocha Examples

Express | Connect

SuperAgent | WebSocket.io | Mocha

js-testing-boilerplates

Clone this wiki locally
0