stepMock

Undocumented in source. Be warned that the author may not have intended to support it.
@system
void
stepMock
()

Examples

Convert a test case to test result

auto testCase = TestCase("Suite name", "test name", &stepMock, [ Label("label", "value") ]);
auto testResult = testCase.toTestResult;

testResult.name.should.equal("test name");
testResult.labels.should.equal([ Label("label", "value") ]);
testResult.begin.should.be.greaterThan(Clock.currTime - 1.seconds);
testResult.end.should.be.greaterThan(Clock.currTime - 1.seconds);
testResult.status.should.equal(TestResult.Status.created);

Meta