@@ -14,6 +14,7 @@ dependencies {
14
14
15
15
// Logging
16
16
implementation ' org.jboss.logging:jboss-logging:3.5.0.Final'
17
+ testImplementation ' org.junit.jupiter:junit-jupiter:5.8.1'
17
18
compileOnly ' org.jboss.logging:jboss-logging-annotations:2.2.1.Final'
18
19
19
20
annotationProcessor ' org.jboss.logging:jboss-logging:3.5.0.Final'
@@ -24,8 +25,9 @@ dependencies {
24
25
implementation " io.vertx:vertx-sql-client:${ vertxVersion} "
25
26
26
27
// Testing
28
+ testImplementation ' org.junit.jupiter:junit-jupiter-api:5.8.1'
27
29
testImplementation ' org.assertj:assertj-core:3.24.2'
28
- testImplementation " io.vertx:vertx-unit :${ vertxVersion} "
30
+ testImplementation " io.vertx:vertx-junit5 :${ vertxVersion} "
29
31
30
32
// Drivers
31
33
testImplementation " io.vertx:vertx-pg-client:${ vertxVersion} "
@@ -37,6 +39,9 @@ dependencies {
37
39
// Optional dependency of vertx-pg-client, essential when connecting via SASL SCRAM
38
40
testImplementation ' com.ongres.scram:client:2.1'
39
41
42
+ // JUnit5 engine
43
+ testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.8.1'
44
+
40
45
// JDBC driver to test with ORM and PostgreSQL
41
46
testRuntimeOnly " org.postgresql:postgresql:42.6.0"
42
47
@@ -73,6 +78,10 @@ dependencies {
73
78
testImplementation " org.testcontainers:oracle-xe:${ testcontainersVersion} "
74
79
}
75
80
81
+ test {
82
+ useJUnitPlatform()
83
+ }
84
+
76
85
// Print a summary of the results of the tests (number of failures, successes and skipped)
77
86
def loggingSummary (db , result , desc ) {
78
87
if ( ! desc. parent ) { // will match the outermost suite
0 commit comments