migrated all test to junit 5

This commit is contained in:
2019-10-23 05:57:06 +02:00
parent a7fce854ca
commit f41979960b
7 changed files with 89 additions and 157 deletions

View File

@@ -18,6 +18,7 @@ javafx {
dependencies {
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.2'
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: '5.5.2'
testCompile group: 'org.hamcrest', name: 'hamcrest-library', version: '2.2'
testCompile group: 'org.mockito', name: 'mockito-core', version:'3.1.0'
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '3.0.0-beta-3'
@@ -35,6 +36,10 @@ dependencies {
compile group: 'org.fxmisc.richtext', name: 'richtextfx', version: '0.10.2'
}
test {
useJUnitPlatform()
}
group 'ninja.javafx'
version '0.9.3-SNAPSHOT'
mainClassName = 'ninja.javafx.smartcsv.Main'