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

We need a TAP reporter that runs in the browser to use nodeunit on [Testling](https://ci.testling.com/). I'm happy to whip one up, but I'm not sure where it belongs. Options: 1....

When test.deepEqual fails, we get a generic "AssertionError" message, without stating what property was mismatched. This requires you to scan the two objects to see what fails. For example, I...

This is a concept used in phpunit(i assume junit too since phpunit was inspired by junit). Basically every test within a test case has an optional data provider that gets...

My build scripts are currently using nodeunit.reporters["default"].run() to run tests against a list of files. Is it possible to only run some tests within a file? Ultimately I'd like to...

The following returns 'undefined' in node 0.5.7 (perhaps other 0.5.x version, too): process.binding('evals').Script This causes utils.js:sandbox() to break.

In several cases, async errors with nodeunit and streams2 only result in the test giving a "test not run or test.done not called". without any sign of the error. What...

test.equal(new Date("3/29/2013 12:30:00 AM"), new Date("3/29/2013 12:30:00 AM"));

Hi, I don't know for how long createClient would be available in node but it would be great if someone can get rid of this call and switch to http.request....

I got to know nodeunit by reading this article http://caolanmcmahon.com/posts/unit_testing_in_node_js which should been written when nodeunit is at earlier phase. It doesn't mention that explicit invocation of callback function in...

in case of having test cases like `exports['test case']` I am not able to use either `-f` or `-t` `nodeunit tc.js -t 'test case'` as space is delimiter and it...