From 0edb9572b68579b6cc74072cc3fa3a7ccb286e88 Mon Sep 17 00:00:00 2001 From: Jannik Seiler Date: Thu, 25 Jun 2020 17:42:03 +0200 Subject: [PATCH] move Tests to the correct location --- prototype/build.gradle | 12 +++++++++--- .../ecommerce/action/booking/CreateBookingTest.java | 0 2 files changed, 9 insertions(+), 3 deletions(-) rename prototype/src/{main => test}/java/org/hso/ecommerce/action/booking/CreateBookingTest.java (100%) diff --git a/prototype/build.gradle b/prototype/build.gradle index e73f072..196c6ac 100644 --- a/prototype/build.gradle +++ b/prototype/build.gradle @@ -30,9 +30,11 @@ dependencies { implementation 'org.springframework.boot:spring-boot-devtools' implementation 'org.xerial:sqlite-jdbc:3.31.1' implementation 'org.yaml:snakeyaml:1.26' - testCompile("org.springframework.boot:spring-boot-starter-test") - testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2' - testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.2' + //testCompile("org.springframework.boot:spring-boot-starter-test") + //testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2' + //testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.2' + + testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2' } group 'org.hso' @@ -44,4 +46,8 @@ bootRun { test { useJUnitPlatform() + + testLogging { + events 'PASSED', 'FAILED', 'SKIPPED' + } } diff --git a/prototype/src/main/java/org/hso/ecommerce/action/booking/CreateBookingTest.java b/prototype/src/test/java/org/hso/ecommerce/action/booking/CreateBookingTest.java similarity index 100% rename from prototype/src/main/java/org/hso/ecommerce/action/booking/CreateBookingTest.java rename to prototype/src/test/java/org/hso/ecommerce/action/booking/CreateBookingTest.java