diff --git a/spring-test/spring-test.gradle b/spring-test/spring-test.gradle index c5c45db98b..d5ecdc7add 100644 --- a/spring-test/spring-test.gradle +++ b/spring-test/spring-test.gradle @@ -87,6 +87,7 @@ dependencies { task junit(type: Test) { description = "Runs JUnit 4 and JUnit Jupiter tests." + systemProperty("testGroups", project.properties.get("testGroups")) useJUnitPlatform { excludeTags "failing-test-case" } @@ -98,6 +99,7 @@ task junit(type: Test) { task testNG(type: Test) { description = "Runs TestNG tests." + systemProperty("testGroups", project.properties.get("testGroups")) useTestNG() scanForTestClasses = false include(["**/testng/**/*Tests.class", "**/testng/**/*Test.class"])