In essence, all I'd like is to leverage mocha's test runner, rather than having to rewrite tooling around it. For the best design possible, we should look at how blanket injects itself into the code with mocha --require blanket, but simply generating describe and it spec code and delegating it into the mocha module shouldn't be unreasonably hard to pull-off.
In essence, all I'd like is to leverage
mocha
's test runner, rather than having to rewrite tooling around it. For the best design possible, we should look at howblanket
injects itself into the code withmocha --require blanket
, but simply generatingdescribe
andit
spec code and delegating it into the mocha module shouldn't be unreasonably hard to pull-off.