3 ms·
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 t
by jdlshore 14y ago
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.
- Raynos 14y agoI 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 https://gist.github.com/b0382064a4ddac608b8c), which may help with your own evaluation.
- jdlshore 14y agoThanks, I'll take a second look. Nothing's set in stone.
- adrianhoward 14y agoOhhh,... Mocha outputs TAP. Didn't notice that before. That's going to make my life easier :-)