Node 0.11 is now pushing double figures. The three main dependencies have been updated (http_parser, uv, v8), and the core modules have a lot of fixes.
Ducky (GitHub: rse / ducky, License: MIT, npm: ducky) by Ralf S. Engelschall is a library for querying and validating objects.
ducky.select method accepts an object and a "path" -- this path is based on dot notation. The
ducky.validate method accepts an object and a string representation of its types. The validation syntax is based on JSON with some regular expression hints.
Ralf has included tests based on Chai, and you can also use this module in client-side projects.
Test-driving a Node.JS API
Test-driving a Node.JS API by Joris Ooms is a blog post about setting up a test-driven project based on Express, SuperTest, and Mocha.
At the end he says:
Often, routes are locked behind authentication (with, for example, PassportJS). We can test these just as easily with supertest, through its lower-level module superagent. I will cover this in a future blog post.
I think he's going to talk about the technique I use for testing my web applications, where authentication is handled with SuperAgent and cookies. It's a bit awkward to set up, so it'll be interesting to see what he says.