Use tape and run tests using budo or nodemon. Tests should live in test/index.js
or test.js
.
All tests at Jam3 must be written using the tap protocol. A module like tape should be used to produce tap
output.
We want to use tap as it's easy to build tools on top of and is a standard in other programming languages.
A repository must contain either a test.js
file or a test
folder which contains a index.js
.
index.js // main application
package.json // package.json (enough said)
test.js // file which will contain tap producing tests
index.js // main application
package.json // package.json (enough said)
test/index.js // file which will contain tap producing tests
Tape is a tap producing test harness. Basically it allows you to write unit tests.
Livereload browser applications.
Livereload commandline applications.