Universal/isomorphic javascript unit tests for witches.
Verify if you have node and npm installed.
$ yarn add nomsjs -D
Create your test file
// demo.test.js
const { suite, test, assert } = require('nomsjs');
suite('All demo tests', () => {
test('Should return a correct number', () => {
return assert(22, 22); // Passed
});
test('Should return a correct number', () => {
return assert(22, 23); // Failed
});
});
Run your unit tests
$ node demo.test.js
Result:
See all Docs and API reference here
To keep better organization of releases we follow the Semantic Versioning 2.0.0 guidelines.
Find on our issues the next steps of the project ;)
Want to contribute? Follow these recommendations.
See Releases for detailed changelog.