mochaOOPWrapper
OOP wrapper for mocha test framework
Installation
$ bower install mocha-oop-wrapper --save
or using npm
$ npm install mocha-oop-wrapper --save
Usage
Specify path to mocha in your requirejs config like this:
requirejs;
Create a class for testing. How it will look like depends on framework you are using. You can see example for Backbone bellow
;
You can also use before
, after
, beforeEach
, afterEach
as well as it
and describe
above