unit_threaded.reflection

Undocumented in source.

Members

Aliases

TestFunction
alias TestFunction = void delegate()

Common data for test functions and test classes

Functions

allTestData
const(TestData)[] allTestData()

Finds all test cases (functions, classes, built-in unittest blocks) Template parameters are module strings

allTestData
const(TestData)[] allTestData()

Finds all test cases (functions, classes, built-in unittest blocks) Template parameters are module symbols

moduleTestClasses
TestData[] moduleTestClasses()

Finds all test classes (classes implementing a test() function) in the given module

moduleTestFunctions
TestData[] moduleTestFunctions()

Finds all test functions in the given module. Returns an array of TestData structs

moduleUnitTests
TestData[] moduleUnitTests()

Finds all built-in unittest blocks in the given module. Recurses into structs, classes, and unions of the module.

tagsFromAttrs
string[] tagsFromAttrs()
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

TestData
struct TestData
Undocumented in source.

Meta