Skip to content

Commit

Permalink
Excavator: Switch to JUnit 5 to parallelize tests and speed up CI (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot authored Sep 22, 2022
1 parent 0955b27 commit a762790
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion human-readable-types/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dependencies {
api 'com.fasterxml.jackson.datatype:jackson-datatype-guava'
implementation 'com.palantir.safe-logging:preconditions'

testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import java.util.Arrays;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import org.junit.Test;
import org.junit.jupiter.api.Test;

public final class HumanReadableByteCountTests {
private static final ObjectMapper objectMapper = new ObjectMapper();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import java.util.Arrays;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import org.junit.Test;
import org.junit.jupiter.api.Test;

public final class HumanReadableDurationTests {
private static final ObjectMapper objectMapper = new ObjectMapper();
Expand Down
10 changes: 8 additions & 2 deletions versions.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ com.palantir.safe-logging:safe-logging:1.20.0 (1 constraints: 2f114fd1)
org.checkerframework:checker-qual:3.12.0 (2 constraints: 530fb196)

[Test dependencies]
junit:junit:4.13.2 (1 constraints: 3c05463b)
org.apiguardian:apiguardian-api:1.1.2 (5 constraints: 105480ac)
org.assertj:assertj-core:3.22.0 (1 constraints: 39053f3b)
org.hamcrest:hamcrest-core:1.3 (1 constraints: cc05fe3f)
org.junit.jupiter:junit-jupiter:5.9.0 (1 constraints: 10051f36)
org.junit.jupiter:junit-jupiter-api:5.9.0 (4 constraints: 823413b9)
org.junit.jupiter:junit-jupiter-engine:5.9.0 (1 constraints: 0b0ee03b)
org.junit.jupiter:junit-jupiter-params:5.9.0 (1 constraints: 0b0ee03b)
org.junit.platform:junit-platform-commons:1.9.0 (2 constraints: db20dc4a)
org.junit.platform:junit-platform-engine:1.9.0 (1 constraints: aa1028b4)
org.opentest4j:opentest4j:1.2.0 (2 constraints: cd205b49)
2 changes: 1 addition & 1 deletion versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ com.google.code.findbugs:jsr305 = 3.0.2
com.google.errorprone:* = 2.10.0
com.google.guava:guava = 31.0.1-jre
com.palantir.safe-logging:* = 1.20.0
junit:junit = 4.13.2
org.assertj:* = 3.22.0
org.junit.jupiter:* = 5.9.0
org.checkerframework:checker-qual = 2.5.3

0 comments on commit a762790

Please sign in to comment.