Package io.quarkus.test.common
package io.quarkus.test.common
-
ClassDescriptionArtifactLauncher<T extends ArtifactLauncher.InitContext>A wrapper around ClassLoader whose only purpose is to expose defineClass This is needed in order to easily inject classes into the classloader without having to resort to tricks (that don't work that well on new JDKs)Interface that can be used to get properties from DevServices for
QuarkusTestandQuarkusIntegrationTestbased tests.Interface that can be implemented to allow automatic injection of the context.ClassValueare used in Groovy which causes memory leaks if not properly cleaned, but unfortunately, they are very complex to clean up, especially theClassValuecorresponding to system classes that must be cleaned too to avoid memory leaks moreover if not cleaned wisely errors of typeMissingMethodExceptioncan be thrown, so we had better to simply disable them by setting the System propertygroovy.use.classvaluetofalsesee GROOVY-7591 for more details.Interface than can be implemented to notify the test infrastructure that the produced artifact has started for non HTTP based@QuarkusIntegrationTests.If an implementation of this class is found using the ServiceLoader mechanism, then it is used.Deprecated.Maps between builder test and application class directories.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.QuarkusTestResourceConfigurableLifecycleManager<ConfigAnnotation extends Annotation>Manage the lifecycle of a test resource, for instance a H2 test server.Provides methods to handle the common injection cases.Returnstrueif the field is annotated with the supplied annotation.Returnstrueif the field is annotated with the supplied annotation and can also be assigned to the supplied type.Returnstrueif the field can be assigned to the supplied type.Deprecated, for removal: This API element is subject to removal in a future version.UseWithTestResourceRepeatableinsteadUses to define arguments of forQuarkusTestResourceseeWithTestResource.initArgs()Utility class that sets the rest assured port to the default test port and meaningful timeouts.A launcher that simply sets thequarkus.http.hostproperty based on the valuequarkus.http.test-hostin order to support the case of running integration tests against an already running application using RestAssured without any chances.Used to define a test resource.Used to indicate the type of the repeatable annotation type annotated with aWithTestResourceannotations.
WithTestResourceinstead.