getdownChannelName = string("${bamboo_planKey}/${JAVA_VERSION}")
getdownAppBase = string("${bamboo_channelbase}/${bamboo_planKey}${bamboo_getdown_channel_suffix}/${JAVA_VERSION}")
jvlChannelName += "_${getdownChannelName}"
+ // automatically add the test group Not-bamboo for exclusion
+ if ("".equals(testngExcludedGroups)) {
+ testngExcludedGroups = "Not-bamboo"
+ }
break
case "RELEASE":
useTestNG() {
includeGroups testngGroups
+ excludeGroups testngExcludedGroups
preserveOrder true
useDefaultListeners=true
}
gradle test -PtestngGroups=Network
```
-Available groups are Functional (default), Network, External.
+Available groups include Functional (default), Network, External.
+
+#### Excluding some tests
+
+Some of Jalview's Functional tests don't pass reliably in all environments. We tag these tests with a group like 'Not-bamboo' to mark them for exclusion when we run tests as part of continuous integration.
+
+To exclude one or more groups of tests, add them as a comma separated list in testngExcludedGroups.
+
+```bash
+gradle test -PtestngExcludedGroups=Not-bamboo
+```
### Installer packaging with *install4j*
jalview_keydig = SHA1
testngGroups = Functional
+testngExcludedGroups =
j8libDir = j8lib
j11libDir = j11lib
assertEquals(d.height, 12);
}
- @Test(groups = "Functional")
+ @Test(groups = { "Functional", "Not-bamboo" })
public void testGetVisibleWidth()
{
/*