Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Automating testing with node.js, mocha and WebStorm (hadihariri.com)
10 points by hhariri on Feb 26, 2012 | hide | past | favorite | 2 comments



Slightly tangential to the post, but Mocha produces really awesome test coverage report too:

http://tjholowaychuk.com/post/18175682663/mocha-test-coverag...


I usually just use guard to run my mocha tests continuously. I have it check for .js files that have changed and run the test suite again.

As an emacs user, this is just running in a terminal window inside emacs so I have continuous feedback as I code. Makes TDD a lot of fun.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: