Class TreePrintingTestListener

java.lang.Object
com.github.sbt.junit.jupiter.internal.listeners.TreePrintingTestListener
All Implemented Interfaces:
JupiterTestListener, org.junit.platform.launcher.TestExecutionListener

public class TreePrintingTestListener extends Object implements JupiterTestListener
  • Constructor Details

    • TreePrintingTestListener

      public TreePrintingTestListener(Configuration configuration)
  • Method Details

    • executionFailed

      public void executionFailed(String className, Throwable throwable)
      Description copied from interface: JupiterTestListener
      Called when the execution of a test task failed.
      Specified by:
      executionFailed in interface JupiterTestListener
      Parameters:
      className - The class-name as reported by TaskDef.fullyQualifiedName().
      throwable - The throwable which caused test execution to fail.
    • executionFiltered

      public void executionFiltered(org.junit.platform.engine.TestDescriptor descriptor, String reason)
      Description copied from interface: JupiterTestListener
      Called when a test has been filtered.
      Specified by:
      executionFiltered in interface JupiterTestListener
      Parameters:
      descriptor - The descriptor of the filtered test.
      reason - A string which describes why this test was filtered.
    • testPlanExecutionStarted

      public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan)
      Specified by:
      testPlanExecutionStarted in interface org.junit.platform.launcher.TestExecutionListener
    • dynamicTestRegistered

      public void dynamicTestRegistered(org.junit.platform.launcher.TestIdentifier testIdentifier)
      Specified by:
      dynamicTestRegistered in interface org.junit.platform.launcher.TestExecutionListener
    • executionSkipped

      public void executionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason)
      Specified by:
      executionSkipped in interface org.junit.platform.launcher.TestExecutionListener
    • executionStarted

      public void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier)
      Specified by:
      executionStarted in interface org.junit.platform.launcher.TestExecutionListener
    • executionFinished

      public void executionFinished(org.junit.platform.launcher.TestIdentifier identifier, org.junit.platform.engine.TestExecutionResult result)
      Specified by:
      executionFinished in interface org.junit.platform.launcher.TestExecutionListener
    • reportingEntryPublished

      public void reportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.ReportEntry entry)
      Specified by:
      reportingEntryPublished in interface org.junit.platform.launcher.TestExecutionListener