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.
    • Method Detail

      • devServicesProperties

        Map<String,​String> 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

        Optional<String> 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.