28
User
Recs.
Recs.
32
Updates
Last
Updated
Updated
Activity
14 Options
Specs
Specs are quantitative aspects of the option such as the price
Pros
Pro Supports different assertion libraries
Mocha runs independently from the assertion library, so you can choose which assertion format works best for you.
Mocha most often is run in combination with assertion library Chai.
Pro Runs in Node.js and the browser
Mocha has a browser build as well as a node command line program so you can test in client and server side environments.
Pro Easy to add support for Generators
Aside from the numerous benefits with generators in your application, You can now also integrate generators into your test suite. By using mocha, all you have to do is enable support for generators.
Know any positive aspects of this option?
Cons
Con Mocha runs all the tests in the same process which means shared memory, and no independence or isolation
Know any negative aspects of this option?