unit_threaded.reflection

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.

Structs

TestData
struct TestData

Meta