News for hackers. Stuff that matters.
Re:Let's Code: Test-Driven Javascript by jdlshore on Tuesday May 15, 2012 @04:04PM (#3978490)
Thanks! I'm using Nodeunit on the server and JsTestDriver on the client, for now. I prefer TDD-style tests to the BDD-style tests of something like Mocha.

On the client, I'm using JsTestDriver because of its excellent cross-browser/cross-platform testing support. In the past, I've used it to run tests against IE 7, IE 8, IE 9, Safari, Chrome, Firefox, and iPad Safari simultaneously, with one command (and a bunch of VMs / slave browsers).

That said, the Javascript world is changing extremely rapidly these days, so I'll re-evaluate these choices after the project is funded.

Re:Let's Code: Test-Driven Javascript by Raynos on Tuesday May 15, 2012 @07:52PM (#3979583)
I highly recommend you consider using mocha with the TDD interface rather then nodeunit.

[I recently evaluated different node testing libraries](https://gist.github.com/b0382064a4ddac608b8c), which may help with your own evaluation.

Re:Let's Code: Test-Driven Javascript by adrianhoward on Wednesday May 16, 2012 @07:24AM (#3981527)
Ohhh,... Mocha outputs TAP. Didn't notice that before. That's going to make my life easier :-)
Re:Let's Code: Test-Driven Javascript by jdlshore on Tuesday May 15, 2012 @08:36PM (#3979727)
Thanks, I'll take a second look. Nothing's set in stone.