My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

What's your test environment for ES2015 node applications?

Deactivated User's photo
Deactivated User
·May 3, 2016

Hi there!

I just wanna know, what tools do you use to unit test your node applications (ES6).
Have you got any suggestions, additions or annotations? :)


Currently I'm using mocha in combination with chai/expect, sinon and isparta:

To run tests, I use:

mocha ./test/** -c --compilers js:babel-core/register

and to get the test coverage, I use:

babel-node ./node_modules/.bin/isparta cover _mocha -- ./test/**

So what's your opinion? I look forward to your replies :)