Package io.quarkus.test.common
Interface DevServicesContext
public interface DevServicesContext
Interface that can be used to get properties from Dev Services for
and
based tests.
This can be injected into fields on a test class, or injected into
invalid reference
QuarkusTest
invalid reference
QuarkusIntegrationTest
DevServicesContext.ContextAware objects on the test class
or TestResourceManager implementations.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInterface that can be implemented to allow automatic injection of the context. -
Method Summary
Modifier and TypeMethodDescriptionIf the application is going to be launched in a container, this method returns the id of the container network it will be launched on.Returns a map containing all the properties created by potentially launched Dev Services.
-
Method Details
-
devServicesProperties
Returns a map containing all the properties created by potentially launched Dev Services. If no Dev Services were launched, the map will be empty. -
containerNetworkId
If the application is going to be launched in a container, this method returns the id of the container network it will be launched on.
-