nomsjs
v2.0.0
Published
Universal/isomorphic javascript unit tests for witches
Downloads
4
Readme
N.O.M.s
Universal/isomorphic javascript unit tests for witches.
Table of contents
How to install
Verify if you have node and npm installed.
Module
$ yarn add nomsjs -D
Usage
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:
Docs
See all Docs and API reference here
Versioning
To keep better organization of releases we follow the Semantic Versioning 2.0.0 guidelines.
Contributing
Find on our issues the next steps of the project ;) Want to contribute? Follow these recommendations.
History
See Releases for detailed changelog.