Sign in
Log inSign up

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 :)

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct