Unit tests tool for witches.
MIT License
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:
npm test
- Run all tests.npm run test:unit
- Run unit-tests only.npm run test:integration
- Run integration-tests only.npm run lint
- Run ESlint validations for code quality.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.