public void testIgnored(Description description) throws Exception {
   pw.println("testIgnored " + description.getDisplayName());
 }
 public void testRunFinished(Result result) throws Exception {
   pw.println("testRunFinished");
   pw.close();
 }
 public void testFailure(Failure failure) throws Exception {
   pw.println("testFailure " + failure.getDescription().getDisplayName());
 }
 public void testRunStarted(Description description) throws Exception {
   pw = new PrintWriter(new FileWriter(outputFile));
   pw.println("testRunStarted");
 }