The CUTEST Testing Framework
Uncluttered, concurrent tests
No set-up, no global variables. Just run the test file in any environment and the cutest logs will appear in your console. That's it.
Node Ninja Tricks
Execute Script Once
node test.js
Live Reload with nodemon
nodemon test.js
Chrome DevTools Debugging with nodemon
You already know this one:
node --inspect --debug-brk test.js
Now go to chrome://inspect/#devices
and click on
"Open dedicated DevTools for Node". You didn't know about this one, didn't you?
Now you don't have to copy-paste the DevTools link anymore. It is automatically attached to the chrome browser.
Now combine this with nodemon:
nodemon --inspect --debug-brk test.js
Best node debugging ever!
Secret Browser Testing Moves
Just include the test script in your HTML file. If you don't have one, we got a nice live-reload server for you:
cutest test.js --open
It's not Karma. But hey, it's not Karma!! (If you know what I mean..)
License
MIT © Kevin Jahns