public class TestResult : StepResult

A test result

public string fileName

The file that contains this test

public size_t line

The line where this test starts

public Status status

Represents the test status

public Label[] labels

A list of labels that will be added to the final report

public Throwable throwable

The reason why a test has failed. This value must be set only if the tests has the

failure
state

public this(string name)

Convenience constructor that sets the test name

Enums

Status

Variables

fileName
string
line
size_t
status
Status
labels
Label[]
throwable
Throwable

Functions

this