W
W
w1ndigo2014-02-23 23:16:04
JavaScript
w1ndigo, 2014-02-23 23:16:04

How to test nodejs app with Mocha, NodeJS, Grunt?

Guys, has anyone met a module, an article, a book that would describe how to test a NodeJS application using Mocha, so that everything can be conveniently run through Grunt?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-02-24
Protko @Fesor

https://github.com/kmiyashiro/grunt-mocha which would be more convenient (though doubtful)
https://nicolas.perriault.net/code/2013/testing-fr...
dailyjs.com/2011/12/08/ mocha is one of the articles. There are many, look for them.
ps unit tests are not related to bdd. you are confusing with tdd or you don’t know what’s what at all. In this case, I advise you to read what literature is relevant.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question