nodeunit icon indicating copy to clipboard operation
nodeunit copied to clipboard

Easy unit testing in node.js and the browser, based on the assert module.

Results 101 nodeunit issues
Sort by recently updated
recently updated
newest added

Chapter 14 covers unit testing in node using a forked version of nodeunit from a few years ago. Since I want to use the latest version of nodeunit in my...

This caused an issue, because a project was including that file in a script tag. There seems to be a bug present in that version of nodeunit.js that is fixed...

There is a code processes path in parallel mode which MAY cause run scripts out of order. e.g. nodeunit a.js b.js c.js d.js the execute order may looks like ->...

Caolan, Simple request: in two places in the default.js reporter, the actual character is used in the code, for the checkmark (passed) and the xmark (failed) for an individual test....

see #267 should also replace `deps/async` and `deps/json2` with npm hosted modules. fixes #313, #310, #201, #111

Hi, I'm on Windows and at least for the `Make` tool utility I am using, I'm not able to get it work. Can you please pre-build the browser file or...

right now if a test throws an exception, the process just exits.

API Breaking Change

When an assertion fails, nodeunit doesn't output the two values being compared, it just says 'AssertionError' Test: ``` 381: test.equal('', undefined); ``` Output: ``` AssertionError at Object.equal (/usr/local/lib/node_modules/nodeunit/lib/types.js:83:39) at Object.exports.update_normal_orderWithPurchaseOrdersReturns...

## Symptoms If any test fails, not all the console output is shown (console output is truncated). Problem does not show up in standard Windows `cmd`, but does show up...

I am using this basic code to run some test on various sorting algorithms in the same file: Here is the driver code: ``` var reporter = require('nodeunit').reporters.default; reporter.run(['tests/sortingTests.js']); ```...