FINERACT-2181: Using JUnit 5 for E2E

This commit is contained in:
Adam Saghy
2025-06-11 20:44:21 +02:00
parent c37e2daa86
commit 7c656ecae8
35 changed files with 199 additions and 226 deletions
+11 -3
View File
@@ -41,18 +41,21 @@ dependencies {
testImplementation 'com.squareup.retrofit2:retrofit:2.11.0'
testImplementation 'org.apache.httpcomponents:httpclient:4.5.14'
testImplementation 'org.apache.commons:commons-lang3:3.17.0'
testImplementation 'com.googlecode.json-simple:json-simple:1.1.1'
testImplementation ('com.googlecode.json-simple:json-simple:1.1.1') {
exclude group: 'junit', module: 'junit'
}
testImplementation 'com.google.code.gson:gson:2.11.0'
testImplementation 'org.junit.platform:junit-platform-suite:1.11.4'
testImplementation 'org.junit.platform:junit-platform-console:1.11.4'
testImplementation 'io.cucumber:cucumber-java:7.20.1'
testImplementation 'io.cucumber:cucumber-junit:7.20.1'
testImplementation 'io.cucumber:cucumber-spring:7.20.1'
testImplementation 'io.cucumber:cucumber-junit-platform-engine:7.20.1'
testImplementation 'io.qameta.allure:allure-cucumber7-jvm:2.29.1'
testImplementation 'org.assertj:assertj-core:3.26.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.3'
testCompileOnly 'org.projectlombok:lombok:1.18.36'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.36'
@@ -70,6 +73,7 @@ dependencies {
tasks.named('test') {
useJUnitPlatform()
systemProperty("cucumber.junit-platform.naming-strategy", "long")
}
tasks.named('cucumber').get().finalizedBy 'allureReport'
@@ -89,3 +93,7 @@ cucumber {
allure {
version = '2.17.3'
}
test {
useJUnitPlatform()
}