steal-mocha will automatically run your tests once all tests are loaded.
mocha
Calls mocha.setup() with the provided mocha config. Waits for steal.done, at which time all tests will have been loaded, and then calls mocha.run() which will run the tests.
Use
Add the Steal tag to your page
This will do the equivalent of
and your tests will automatically be ran.
Writing tests
When you write tests just be sure to import
steal-mocha
.