diff --git a/integration-tests/main/src/test/java/io/quarkus/it/main/DynamicTestWithJacksonTestCase.java b/integration-tests/main/src/test/java/io/quarkus/it/main/DynamicTestWithJacksonTestCase.java new file mode 100644 index 0000000000000..1f3d0799ab210 --- /dev/null +++ b/integration-tests/main/src/test/java/io/quarkus/it/main/DynamicTestWithJacksonTestCase.java @@ -0,0 +1,24 @@ +package io.quarkus.it.main; + +import static io.restassured.RestAssured.given; +import static org.junit.jupiter.api.DynamicTest.dynamicTest; + +import org.junit.jupiter.api.DynamicTest; +import org.junit.jupiter.api.TestFactory; + +import io.quarkus.test.junit.QuarkusTest; + +@QuarkusTest +public class DynamicTestWithJacksonTestCase { + + @TestFactory + public DynamicTest test() { + return dynamicTest("restAssuredExample", () -> given() + .body(new Data()) // Uses TCCL to load Jackson + ); + } + + static class Data { + public String data; + } +} \ No newline at end of file