Class ExceptionsReporter
- java.lang.Object
-
- io.testproject.sdk.internal.reporting.extensions.junit5.ExceptionsReporter
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterTestExecutionCallback
,org.junit.jupiter.api.extension.Extension
public class ExceptionsReporter extends java.lang.Object implements org.junit.jupiter.api.extension.AfterTestExecutionCallback
JUnit5 extension that takes care of reporting failed assertions.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TESTPROJECT_TLD
TestProject package name prefix.
-
Constructor Summary
Constructors Constructor Description ExceptionsReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterTestExecution(org.junit.jupiter.api.extension.ExtensionContext context)
Report thrown exceptions after test execution.
-
-
-
Field Detail
-
TESTPROJECT_TLD
public static final java.lang.String TESTPROJECT_TLD
TestProject package name prefix.- See Also:
- Constant Field Values
-
-
Method Detail
-
afterTestExecution
public void afterTestExecution(org.junit.jupiter.api.extension.ExtensionContext context) throws java.lang.Exception
Report thrown exceptions after test execution.- Specified by:
afterTestExecution
in interfaceorg.junit.jupiter.api.extension.AfterTestExecutionCallback
- Throws:
java.lang.Exception
-
-