此内容没有您所选择的语言版本。
Chapter 9. Testing your Quarkus application
By default, when you test your Quarkus application, Maven uses the test configuration profile. However, you can create a custom configuration profile for your tests using the Maven Surefire plug-in.
Prerequisites
- You have a Quarkus project created with Apache Maven.
Procedure
Edit the following example to meet your testing requirements, where
<profile_name>is a name for your test profile:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Note
You cannot use a custom test configuration profile in native mode. Native tests always run using the prod profile.