2010
04.30

First thing that struck me when i started working with NodeJS was a lack of anything to run my tests with. I wanted to be able to write tests, run them, tell me which one failed and why. I thought this may be usefull for others so here is “Nest” my node testing module that works with the existing assert module.

Nest @ GitHub

Example

var nest = require("./nest");
var assert = require("assert");

var testCases = new nest.Nest();
testCases.add("TestSomething", {
    test_true_is_true: function() {
        assert.equal(true, false);
    }
});
testCases.run();

No Comment.

Add Your Comment