node-test-executor
Executes test scripts and directories of test scripts. It's based on Async Tree Pattern.
Install
npm i test-executor
How to use
const ExecutedTests = './test/test.js' './test/dir1' './test/dir2' // or just new ExecutedTests('./test').call()
Output will be smth like this (example of case when one of the tests fails):
Test
npm run test
Build
npm run build
Run example
npm run example