JAL-4167 Allow a test to run in multiple testTasks
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 26 Apr 2023 13:27:50 +0000 (14:27 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 26 Apr 2023 13:27:50 +0000 (14:27 +0100)
build.gradle

index 159da8d..c23ba06 100644 (file)
@@ -1756,7 +1756,6 @@ task testTask1(type: Test) {
   useTestNG() {
     includeGroups name
     excludeGroups testng_excluded_groups.split(",")
-    tasks.withType(Test).matching {it.name.startsWith("testTask") && it.name != name}.all {t -> excludeGroups t.name}
     preserveOrder true
     useDefaultListeners=true
   }