Skip to content

Commit

Permalink
Merge pull request #15 from swarren12/feature/junit-5
Browse files Browse the repository at this point in the history
Replace JUnit 4 with JUnit 5
  • Loading branch information
Palmr authored Nov 5, 2021
2 parents 412c661 + 7fce594 commit 8967f56
Show file tree
Hide file tree
Showing 6 changed files with 516 additions and 296 deletions.
19 changes: 3 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,26 +46,13 @@ repositories {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
checkstyle 'com.puppycrawl.tools:checkstyle:9.0.1'
testImplementation 'junit:junit:4.13.1'
checkstyle 'com.puppycrawl.tools:checkstyle:9.1'
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.1'
// testImplementation 'org.hamcrest:hamcrest:2.2'
}

compileJava {
options.fork = true
options.debug = true
options.warnings = true
options.deprecation = true
}
compileTestJava {
options.fork = true
options.debug = true
options.warnings = true
options.deprecation = true
}

test {
useJUnit()
useJUnitPlatform()
}

javadoc {
Expand Down
Loading

0 comments on commit 8967f56

Please sign in to comment.