iz.testing

Experimental custom unittest runner.

It's not part of iz but it's used to test the library.

Members

Functions

collectTest
OwnedTestBattery collectTest()

Returns the unittests located in parent.

libraryTestCode
string libraryTestCode()

Generates a string that represents the code to run the tests in a list of module.

runTestBattery
bool runTestBattery(T t)

Runs a test battery, printing the progress to stdout.

testModules
bool testModules()

libraryTestCode() routine

Templates

selectTestWithUda
template selectTestWithUda(alias T)

Example of a template that can be used as filter in collectTest.

Meta