expresso
expresso copied to clipboard
Command line helper for test file generation
A little helper that generates the boilerplate needed for a test would be a nice thing. It would help us lazy people to write smaller files with less tests, but more of them.
Thanks
i use expresso -I . -r test.js with test.js contaning "global.assert = require('assert');" (and other package specific includes). The test is then just module.exports = { a : function () {} };. Short enough for me to not be lazy :-)