Try to activate JUnit - not working yet
This commit is contained in:
parent
624ade2032
commit
a2e05edb7a
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue