bunit.js

bunit.js provides a simple way to define unit tests and run them using a web page. In order to use it, you'll likely want to do something like this: Define your tests (ie. tests/assert.js) using bunit and bunit.assert. Import your tests and bunit at your test main (ie. main.js). Execute your tests using bunit. It discovers the tests automatically as long as you import them via main somehow.

Links

Tags