TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Automating testing with node.js, mocha and WebStorm

10 pointsby hhaririabout 13 years ago

2 comments

karterkabout 13 years ago
Slightly tangential to the post, but Mocha produces really awesome test coverage report too:<p><a href="http://tjholowaychuk.com/post/18175682663/mocha-test-coverage" rel="nofollow">http://tjholowaychuk.com/post/18175682663/mocha-test-coverag...</a>
programminggeekabout 13 years ago
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.<p>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.