Code example for TestResult

Methods: errorCount, failureCount, runCount, wasSuccessful