node-qunit icon indicating copy to clipboard operation
node-qunit copied to clipboard

QUnit runner for Node.js.

Results 15 node-qunit issues
Sort by recently updated
recently updated
newest added

```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...

enhancement
help welcome

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();...

problem
documentation
help welcome

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...

support

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",...

problem
support

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...

problem

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...

enhancement

Errors thrown by children processes are displayed without the call stack, it's hard to debug tests without it.

enhancement