We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.testbench.unit.
Package com.vaadin.testbench.unit
Class TreeOnFailureExtension
java.lang.Object
com.vaadin.testbench.unit.TreeOnFailureExtension
All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterTestExecutionCallback
, org.junit.jupiter.api.extension.Extension
public class TreeOnFailureExtension
extends Object
implements org.junit.jupiter.api.extension.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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterTestExecution
(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
-
Constructor Details
-
TreeOnFailureExtension
public TreeOnFailureExtension()
-
-
Method Details
-
afterTestExecution
public void afterTestExecution(org.junit.jupiter.api.extension.ExtensionContext extensionContext) Specified by:
afterTestExecution
in interfaceorg.junit.jupiter.api.extension.AfterTestExecutionCallback
-