visionmedia/mocha — Issue #136: Running mocha tests from inside node?
Author: Qard
Created: 2011-12-11 06:18:39+00:00
State: open

I've got a whole tree of test files to run and want to be able select which ones to run using some console commands. I tried using a sort of bootstrap file that mocha would load and it would load the other files depending one what console commands I pass through mocha, but apparently commander just complains when you use a command that hasn't been defined. At the moment I'm just using child_process.spawn and piping it's output to the console, which is kind of hacky and doesn't have the pretty colors. :(