-
Notifications
You must be signed in to change notification settings - Fork 1
Unit and Behaviour Testing
ibrow edited this page Oct 21, 2011
·
1 revision
Whilst Node.JS has some basic asserting functionality, it would be good to have something more rigorous. Caolan McMahon's Node Unit looks like it might do the job. However, it currently doesn't have code coverage (which I find invaluable when unit testing). Fortunately Arunoda Susiripala has forked it and added coverage. (Unfortunately at time of writing I can't get this to work, even though I have installed all the necessary)
TDD is so 2006! BDD is the way forward!
Hmm, well possibly. I need to get my head around this concept. Vows looks like a promising BDD library and it also has code coverage built in.