Package io.quarkus.test.common
Interface DevServicesContext
public interface DevServicesContext
Interface that can be used to get properties from DevServices for
QuarkusTest
and QuarkusIntegrationTest
based tests.
This can be injected into fields on a test class, or injected into DevServicesContext.ContextAware
objects on the test class
or TestResourceManager
implementations.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Interface 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 container network it will be launched on.Returns a map containing all the properties creates by potentially launched dev services.
-
Method Details
-
devServicesProperties
Returns a map containing all the properties creates by potentially launched dev services. If no dev services where launched, the map will be empty. -
containerNetworkId
If the application is going to be launched in a container, this method returns the id of container network it will be launched on.
-