From: James Procter Date: Sat, 30 Sep 2023 14:04:11 +0000 (+0100) Subject: JAL-4217 move CommandsTest to testTask3 involving structure image export and random... X-Git-Tag: Release_2_11_4_0~140 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ddb6c7bd0ec05ecafb6cd6056efa696db7c96ba2;p=jalview.git JAL-4217 move CommandsTest to testTask3 involving structure image export and random NPE in commandsOpen test on osx --- diff --git a/build.gradle b/build.gradle index c4ed582..8ac2757 100644 --- a/build.gradle +++ b/build.gradle @@ -1783,6 +1783,27 @@ task testTask1(type: Test) { } } +task testTask2(type: Test) { + group = "Verification" + description = "Tests that need to be isolated from the main test run" + useTestNG() { + includeGroups name + excludeGroups testng_excluded_groups.split(",") + preserveOrder true + useDefaultListeners=true + } +} +task testTask3(type: Test) { + group = "Verification" + description = "Tests that need to be isolated from the main test run" + useTestNG() { + includeGroups name + excludeGroups testng_excluded_groups.split(",") + preserveOrder true + useDefaultListeners=true + } +} + /* insert more testTaskNs here -- change N to next digit or other string */ /* task testTaskN(type: Test) { diff --git a/test/jalview/bin/CommandsTest.java b/test/jalview/bin/CommandsTest.java index 8dae8f3..ecec67d 100644 --- a/test/jalview/bin/CommandsTest.java +++ b/test/jalview/bin/CommandsTest.java @@ -96,7 +96,7 @@ public class CommandsTest } */ - @Test(groups = "Functional", dataProvider = "cmdLines") + @Test(groups = {"Functional","testTask3"}, dataProvider = "cmdLines") public void commandsOpenTest(String cmdLine, boolean cmdArgs, int numFrames, String[] sequences) { @@ -147,7 +147,7 @@ public class CommandsTest @Test( groups = - { "Functional", "testTask1" }, + { "Functional", "testTask3" }, dataProvider = "structureImageOutputFiles") public void structureImageOutputTest(String cmdLine, String[] filenames) throws IOException