Add mockito for JUnit5
@@ -71,6 +71,7 @@ ext {
jmzTabmVersion = "1.0.6"
jnaVersion = "5.6.0"
junitversion = "5.7.0"
+ mockitoversion = "3.8.0"
// UUID for upgrades of this package on Windows. Generated by https://www.uuidgenerator.net
win_uuid = "896e9c2d-6db8-4259-a1af-1b5f8112d1e1"
@@ -168,9 +169,10 @@ dependencies {
// https://mvnrepository.com/artifact/commons-cli/commons-cli
implementation group: 'commons-cli', name: 'commons-cli', version: '1.4'
-
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitversion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitversion"
+ testImplementation "org.mockito:mockito-inline:$mockitoversion"
+ testImplementation "org.mockito:mockito-junit-jupiter:$mockitoversion"
}
/*
