Package io.quarkus.test.junit
Annotation Interface TestProfile
Defines a 'test profile'. Tests run under a test profile
will have different configuration options to other tests.
Due to the global nature of Quarkus if a previous test was
run under a different profile then Quarkus will need to be
restarted when the profile changes. Unfortunately there
is currently no way to order tests based on profile, however
this can be done manually by running tests in alphabetical
order and putting all tests with the same profile in the same
package.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends QuarkusTestProfile>
The test profile to use.
-
Element Details
-
value
Class<? extends QuarkusTestProfile> valueThe test profile to use. If subsequent tests use the same profile then Quarkus will not be restarted between tests, giving a faster execution.
-