Continuous testing with Mocha
One of the great things about working with a dynamic language and one of the things that has drawn me to node is the ability to easily do Test-Driven Development
and continuous testing. Simply run Mocha with the -w
watch switch and Mocha will respond when changes to our codebase are made, and will automatically rerun the tests:
mocha -w