Function testNamed

The first result with the given name inside a suite that has not started yet

TestResult testNamed(
  ref SuiteResult suite,
  string name
);

Example

testNamed returns the suite test with the matching name

auto suite = SuiteResult("suite1");
suite.tests = [ new TestResult("test1"), new TestResult("test2") ];

suite.testNamed("test2").should.equal(suite.tests[1]);