Hi guys, I know there's a bunch of testing frameworks out there. I absolutely didn't want to write one.
But they annoyed me in a couple of things: - Side effects of having a huge code base, that actually make me spend time debugging the test frameworks. - DSLs, which I really wish weren't there. I don't care for methodology, just for running the tests. - Not being able to select the tests I want to run, and having to go on to comment tests i dont want to run. - Normally need or are better with some binary script I don't want to run, I just want node. Basically they break all of my requirements, and in return give me a good output format and (maybe) a decent DSL to write tests in. To fix this I wrote the least amount of lines of code I could that allowed me to systematically handle these requirements: - https://github.com/dscape/specify var specify = require('specify'); specify('create_by_secret', function (assert) { user.create_by_secret({invitation_code: "1234321!!"}, function (err) { assert.equal(err.eid, "ec:api:user:create_by_secret:wrong_code"); assert.equal(err.status_code, 400); });}); specify.run(); Hopefully some of you will find this enough for your needs too :) Nuno -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
