Code example for TestResult

Methods: errorCount, failureCount