A simple, pretty, and lightweight Node.JS testing framework
npm install whew
Or, for distribution with your package...
npm install whew --save
cosnt w = ;w;w;w;w;
API: Really quick explanation
I'll explain how this works as quickly as possible so you can get right to testing.
First, of course, we require the library.
const w = ;
Then we create a test.
The callback method provided to the test can be called with the following parameters:
- Passed? Boolean
- Description String Optional
Then, of course, we actually execute the tests.
Simple, isn't it?
Simple demo: Multi-file testing
It's crazy simple to keep your tests organized within multiple files. Here's a demo...
test.js (Main test file)
const w = ;w;w;