5
User
Recs.
Recs.
12
Updates
Last
Updated
Updated
Activity
9 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.
Know any positive aspects of this option?
Cons
Con Requires Node.js
When developing server side implementation for REST API, you don’t want/need to have the whole “browser” in form of Node.JS on your computer.
Con Can be intimidating for beginners
While some testing frameworks are complete out of the box, Mocha requires developers to select and set up assertion libraries and mocking utilities. For someone who is just starting to learn how to build tests this can be scary as they will also have to choose which libraries to use and learn them too.
Know any negative aspects of this option?