Code example for TestResult

Methods: errorCountfailureCountrunCountwasSuccessful