node-qunit
node-qunit copied to clipboard
QUnit runner for Node.js.
```js const object = { get x() { throw 42 }}; assert.equal(object, object); // => Died on test #1: 42 ```
It would be beneficial to have Node.js debugging capabilities for tests. _**Note:** Currently, when starting `node-qunit` CLI in debug mode using `--debug-brk` child processes created by testrunner are created with...
In the example code of `README.md`, there's an error in the async test. The line: ```javascript var done = assert.stop(); ``` Should be replaced by: ```javascript var done = assert.async();...
Guys, I am fully aware of the asynchronous helpers built in QUnit and I use them whenever the test is asynchronous. However, the problem I am dealing with is the...
The suiteName should be empty when module is not defined for tests.
When cli.js executed by Node.js running in debug mode, child processes are also running in debug mode with different port. It is possible to run cli.js in normal mode and...
I have this code in my app: ```js var testRunner = require("qunit"); testRunner.setup({ log: { assertions: true, summary: true } }); testRunner.run({ code: "./libs/clubCreation", tests: "./tests/modulesTests/clubCreation" }); testRunner.run({ code: "./libs/news",...
I execute qunit like so: ``` $(NODE_MODULES)/qunit \ --cov \ --timeout 60000 \ -d Random:$(BOWER_COMPONENTS)/random/lib/random.js \ -c Prob:dist/prob-min.js \ -t tests/*-tests.js ``` I have two files that match "tests/*-tests.js", "tests/prob-tests.js...
I might be missing something but in a non-trivial project I might have several code & test modules and really don't want to maintain a list that is provided to...
Errors thrown by children processes are displayed without the call stack, it's hard to debug tests without it.