javascript-test-framework-comparison
javascript-test-framework-comparison copied to clipboard
A comparison of three major javascript unit test frameworks -- qUnit, Jasmine, and Mocha
- Exit with nonzero status if QUnit tests fail. - Make QUnit tests run in Linux.
I have just tried the tests and realized that commands npm i npm test is enough for Jasmine and qUnit, but not enough for Mocha - the reason - Mocha...
Maybe add https://github.com/substack/tape to the list?
Removed the "node_modules//.bin//" from the npm scripts because npm scripts automatically look there first for binaries. Also told Mocha where to find the tests so it would actually run.