Write a standalone test suite
SimpleBeforeAfterTester uses this approach.
- Add
Use "TestSuite"
to create a set of tests. -
Instantiate the TestSuite object, passing a name for the tests.
This will be combined with the run-time timestamp for the filename of the HTML file, in format "MyTests-20220331T123000.html". Spaces will be removed, but no other modifications to the title. It's the developer's responsibility to ensure no invalid characters. The output location can be overridden using the
outputTo()
function.