Class TestTracker

java.lang.Object
org.junit.rules.TestWatcher
org.eclipse.jetty.toolchain.test.TestTracker
All Implemented Interfaces:
org.junit.rules.TestRule

public class TestTracker extends org.junit.rules.TestWatcher
Adds simple System.err output tracking of test method execution.

Note: AdvancedRunner performs tracking as well, there is no need for this @Rule if you have AdvancedRunner in use.

   @Rule
   public TestTracker ttracker = new TestTracker();
 
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    starting(org.junit.runner.Description description)
     

    Methods inherited from class org.junit.rules.TestWatcher

    apply, failed, finished, skipped, skipped, succeeded

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestTracker

      public TestTracker()
  • Method Details

    • starting

      protected void starting(org.junit.runner.Description description)
      Overrides:
      starting in class org.junit.rules.TestWatcher