Class LoudTimingRule

java.lang.Object
org.junit.rules.TestWatcher
com.atlassian.bamboo.testutils.junit.rule.LoudTimingRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class LoudTimingRule extends org.junit.rules.TestWatcher
Very loudly log how long a test took to complete.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    Methods inherited from class org.junit.rules.TestWatcher

    apply, failed, skipped, skipped, succeeded

    Methods inherited from class java.lang.Object

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

    • LoudTimingRule

      public LoudTimingRule()
  • Method Details

    • starting

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

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