Class ExceptionsReporter


  • public class ExceptionsReporter
    extends org.junit.runner.notification.RunListener
    JUnit4 extension that takes care of reporting failed assertions.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener

        org.junit.runner.notification.RunListener.ThreadSafe
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void testFailure​(org.junit.runner.notification.Failure failure)
      Event listener for test failure.
      • Methods inherited from class org.junit.runner.notification.RunListener

        testAssumptionFailure, testFinished, testIgnored, testRunFinished, testRunStarted, testStarted, testSuiteFinished, testSuiteStarted
      • Methods inherited from class java.lang.Object

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

      • ExceptionsReporter

        public ExceptionsReporter()
    • Method Detail

      • testFailure

        public void testFailure​(org.junit.runner.notification.Failure failure)
        Event listener for test failure. Will create and report assertion errors.
        Overrides:
        testFailure in class org.junit.runner.notification.RunListener
        Parameters:
        failure - object of the current test.