unit_threaded.attrs

Undocumented in source.

Members

Aliases

SingleThreaded
alias SingleThreaded = Serial
Undocumented in source.

Enums

DontTest
enum DontTest
Undocumented in source.
Serial
enum Serial
Undocumented in source.
UnitTest
enum UnitTest
Undocumented in source.

Functions

Values
ValuesImpl!T Values(T[] values)

Used as a UDA for built-in unittests to enable value-parametrized tests.

getValue
T getValue()

Retrieves the current test value of type T in a built-in unittest. See Values.

Structs

HiddenTest
struct HiddenTest

Hide test. Not run by default but can be run.

Name
struct Name

Associate a name with a unittest block.

ShouldFail
struct ShouldFail

The suite fails if the test passes.

Types
struct Types(T...)

Attachs these types to the a parametrized unit test. The attached template function will be instantiated with each type listed, e.g.

ValueHolder
struct ValueHolder(T)
Undocumented in source.
ValuesImpl
struct ValuesImpl(T)
Undocumented in source.

Meta