Products
Resources
Sign Up
\
$ npm install --global mocha

Mocha

Mocha is a feature-rich JavaScript test framework running on Node.js making it a perfect fit for front-end QA. You can run Mocha on CrossBrowserTesting's 1500+ browsers and real mobile devices, increasing your test coverage and making parallel testing easier then ever.

Mocha
describe('User', function() {
  describe('#save()', function() {
  it('should save without error', function(done) {
   var user = new User('Luna');
   user.save(done);
  });
 });
});

Easier Testing In JavaScript

Don't want to leave JavaScript when testing your JavaScript web application? Well you don't have to.

Record Video And Network Traffic

Record your entire test session for playback at 2x, 3x, or 4x for maximum bug hunting.

Easily Share Test Results With Teammembers

Share all of your test artifacts and results on Slack, HipChat, Jira and more.