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

I don't know that this is a nodeunit bug, so much, but it has me stumped. Using node 0.2.6, I installed nodeunit via npm. When I require nodeunit, though, it...

Nodeunit has great feature in expect, but ending asynchronous tests is often painful, mainly in tests with more than 1 callback. I think, it has easy solution and implementation isn't...

I see that nodelint is present, but nobody seems to be running it. It is predictable: nodelint just produces way too much output which is very hard to read and...

If you run nodeunit on an empty directory, it just prints OK: 0 assertions and exits successfully. It would be nice if this exited with an error status code by...

I tried producing a code coverage report using the lcov reporter. It works as long as I don't mess with the sandbox util. I'm using the sandbox utility to replace...

I'm trying to use the lvoc reporter on my project, but there's just no output from nodeunit. If I invoke nodeunit test only: ``` henvic at henvic-mp in ~/projects/liferay/grunt-cli-config (master●●)...

My specific case involved an object with circular references. When making a call to strictEqual(), I was getting: TypeError: Converting circular structure to JSON And then it would crash without...

I would like to add custom assertion so it can be used similarly to test.equal (e.g. test.contains). The issue is that assert is required in two places: In nodeunit.js, and...

Fixes error when stack trace is hidden with `Error.stackTraceLimit = 0` Potentially provides a fix to #64 The error message: ``` nodeunit/lib/utils.js:212 e.stack.split('\n').slice(1).join('\n') ^ TypeError: Cannot call method 'split' of...

When passing the same file multiple times to the nodeunit executable, the tests indeed run multiple times, but the setUp function is just called the first time. Demonstration: https://github.com/fsvehla/nodeunit-bug-multiple-runs