Added parameterized tests
This commit is contained in:
parent
59d53ebe01
commit
5f84e96b11
4 changed files with 132 additions and 81 deletions
|
@ -26,7 +26,7 @@ val deployDir = "deploy"
|
|||
val gitHub = "ethauvin/${rootProject.name}"
|
||||
val mavenUrl = "https://github.com/$gitHub"
|
||||
val publicationName = "mavenJava"
|
||||
val myClassName = "net.thauvin.erik.urlencoder.UrlEncoder"
|
||||
val myClassName = "$group.${rootProject.name}.$mavenName"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
@ -34,7 +34,8 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation(kotlin("test"))
|
||||
// testImplementation("com.willowtreeapps.assertk:assertk-jvm:0.25")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.9.0")
|
||||
}
|
||||
|
||||
base {
|
||||
|
@ -79,6 +80,10 @@ tasks {
|
|||
kotlinOptions.jvmTarget = java.targetCompatibility.toString()
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
withType<Test> {
|
||||
testLogging {
|
||||
exceptionFormat = TestExceptionFormat.FULL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue