From c2b14ee43dab34cd637b765a6f5477d6b0f4a257 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Wed, 22 Jan 2020 10:46:41 +0100 Subject: [PATCH] WIP --- pom.xml | 4 +++ .../java/de/juplo/demo/DemoControllerIT.java | 26 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 src/test/java/de/juplo/demo/DemoControllerIT.java diff --git a/pom.xml b/pom.xml index 0ad8f78..5768b30 100644 --- a/pom.xml +++ b/pom.xml @@ -62,6 +62,10 @@ org.springframework.boot spring-boot-maven-plugin + + org.apache.maven.plugins + maven-failsafe-plugin + diff --git a/src/test/java/de/juplo/demo/DemoControllerIT.java b/src/test/java/de/juplo/demo/DemoControllerIT.java new file mode 100644 index 0000000..6a9a2a5 --- /dev/null +++ b/src/test/java/de/juplo/demo/DemoControllerIT.java @@ -0,0 +1,26 @@ +package de.juplo.demo; + + +import lombok.extern.slf4j.Slf4j; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest; +import org.springframework.test.context.junit.jupiter.SpringExtension; +import org.springframework.test.web.reactive.server.WebTestClient; + + +/** + * Integration-Test for the {@link DemoController}. + * @author Kai Moritz + */ +@ExtendWith(SpringExtension.class) +@WebFluxTest +@Slf4j +public class DemoControllerIT +{ + @Test + void testSubmit(WebTestClient client) + { + + } +} -- 2.20.1