diff --git a/prototype/build.gradle b/prototype/build.gradle index 8d138b9..e73f072 100644 --- a/prototype/build.gradle +++ b/prototype/build.gradle @@ -1,6 +1,7 @@ buildscript { repositories { mavenCentral() + jcenter() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:2.2.7.RELEASE") @@ -30,6 +31,8 @@ dependencies { 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' } group 'org.hso' @@ -38,3 +41,7 @@ version '0.1.0' bootRun { args = ["--spring.profiles.active=dev --spring.config.location=classpath:/application.properties"] } + +test { + useJUnitPlatform() +} diff --git a/prototype/src/main/java/org/hso/ecommerce/action/booking/CreateBookingTest.java b/prototype/src/main/java/org/hso/ecommerce/action/booking/CreateBookingTest.java new file mode 100644 index 0000000..b81105c --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/action/booking/CreateBookingTest.java @@ -0,0 +1,14 @@ +package org.hso.ecommerce.action.booking; + +import static org.junit.jupiter.api.Assertions.*; + +import org.junit.jupiter.api.Test; + +class CreateBookingTest { + + @Test + void test() { + fail("Not yet implemented"); + } + +}