unit_threaded.attrs

Undocumented in source.

Members

Aliases

SingleThreaded
alias SingleThreaded = Serial
Undocumented in source.

Enums

AutoTags
enum AutoTags

Automatically assign @Tags for each parameterized test e.g.

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

Functions

Values
auto Values(T[] values)

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

Values
auto Values(R values)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

ShouldFailWith
struct ShouldFailWith(T : Throwable)

The suite fails unless the test throws T

Tags
struct Tags

Associates one or more tags with the test

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