Package io.quarkus.test.common
Interface QuarkusTestResourceLifecycleManager.Context
- Enclosing interface:
- QuarkusTestResourceLifecycleManager
public static interface QuarkusTestResourceLifecycleManager.Context
-
Method Summary
Modifier and TypeMethodDescriptionWhen aQuarkusTestResourceLifecycleManageris used with a type of test that supports test profiles, this method gives the name of the active test profile, ornullif no test profile is active.
-
Method Details
-
testProfile
String testProfile()When aQuarkusTestResourceLifecycleManageris used with a type of test that supports test profiles, this method gives the name of the active test profile, ornullif no test profile is active. In the case ofQuarkusTestProfile, this method gives the name of the class that implementsQuarkusTestProfile. -
getTestStatus
TestStatus getTestStatus()- Returns:
- the failure result that is thrown during either `BeforeAll`, `BeforeEach`, test method, `AfterAll` or `AfterEach` phases.
-