There are 30+ testing frameworks listed on the node.js module list...
Which frameworks are most popular? And what are their pros and cons?
I'm looking for a framework that supports unit testing of code that has a lot of async callbacks (probably like most other node projects). Also, I'm looking for something rather simple and small than complex.
So far I've looked into:
- Nodeunit is straightforward and supports async code by letting you define how many assertions you expect to be called and when a test is done.
- Vowsjs looks interesting. Allows you to nicely structure the tests and comes with many advanced features. Not sure whether these features are actually useful, through, or if they rather stand in your way?