expresso icon indicating copy to clipboard operation
expresso copied to clipboard

Command line helper for test file generation

Open sebs opened this issue 14 years ago • 1 comments

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

sebs avatar Dec 30 '10 18:12 sebs

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 :-)

bergmark avatar Apr 20 '11 17:04 bergmark