Package 

Class TreeOnFailureExtension

  • All Implemented Interfaces:
    org.junit.jupiter.api.extension.AfterTestExecutionCallback , org.junit.jupiter.api.extension.Extension

    
    public class TreeOnFailureExtension
     implements AfterTestExecutionCallback
                        

    JUnit5 extension that will collect and output the component tree for the failing test UI.

    This can help with identifying a problem that has happened in the test where a component is missing or has faulty data.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void afterTestExecution(ExtensionContext extensionContext)
      • Methods inherited from class java.lang.Object

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