Package io.quarkus.test.common.http
Annotation Type TestHTTPEndpoint
-
@Retention(RUNTIME) @Target({METHOD,TYPE,FIELD}) public @interface TestHTTPEndpoint
Indicates that this test class or method is testing a specific endpoint. RESTAssured will also have its base URL modified so all URLS can be given relative to the root of the the provided resource class. It can also be applied toTestHTTPResource
fields to set the base path. This mechanism is pluggable, and currently supports JAX-RS endpoints, Servlets and Reactive Routes.
-
-
Element Detail
-
value
Class<?> value
The HTTP endpoint that is under test. All injected URL's will point to the root path of the provided resource.
-
-