Function countTests
Counts the tests that ended with a status
Example
countTests returns 2 when 2 of the 3 tests in 2 suites are successful
auto results = [SuiteResult("a"), SuiteResult("b")];
results[0] .tests = [new TestResult("1"), new TestResult("2")];
results[1] .tests = [new TestResult("3")];
results[0] .tests[0] .status = TestResult .Status .success;
results[1] .tests[0] .status = TestResult .Status .success;
results .countTests(TestResult .Status .success) .should .equal(2);