Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Concurrent/Continuous Testing for nodejs (ncrunch for nodejs)

I'm a big fan of the continuous testing setup offered by NCrunch in Visual Studio, and would love to have a similar setup with nodejs.

When writing JavaScript in node I use Sublime Text 2 as my editor, with tests written using Mocha.

I wondered if there was software (or a ST2 plugin) for achieving similar concurrent testing to that offered by NCrunch when writing .NET code?

like image 933
isNaN1247 Avatar asked Feb 19 '23 17:02

isNaN1247


1 Answers

After doing some digging around I've decided that the solution for the moment is:

Server-side: Mocha

mocha -w test

Using mocha's built-in watch functionality.

Client-side: Testacular

I'm now using testacular, which is truly awesome. It would be great it if had hooks for running the server-side watch progress in tandem, but not really a problem.

like image 136
isNaN1247 Avatar answered Apr 28 '23 09:04

isNaN1247