1 <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
3 <suite verbose="1" name="VID UI Tests" annotations="JDK">
5 <listener class-name="vid.automation.test.infra.FeatureTogglingTestngTransformer"/>
10 <script language="beanshell">
12 String [] exclusionGroups = new String [] {
13 "shouldBeMigratedToWorkWithSimulator",
16 "worksOnlyWithLocalhostVID",
17 "worksOnlyWithLocalASDC"
19 String [] classes2 = new String [] {
20 "vid.automation.test.test.AddNetworkTest",
21 "vid.automation.test.test.BrowseASDCTest",
22 "vid.automation.test.test.ChangeManagementTest",
23 "vid.automation.test.test.ALaCarteflowTest",
24 "vid.automation.test.test.VlanTagSubInterfaceTest",
25 "vid.automation.test.test.CreateNewInstanceTest"
28 String [] classes3 = new String [] {
29 "vid.automation.test.test.NewServiceInstanceTest",
30 "vid.automation.test.test.CreatePortMirroringConfigurationTest"
33 String [] classes4 = new String [] {
34 "vid.automation.test.test.DrawingBoardTest",
35 "vid.automation.test.test.ViewEditServiceInstanceTest"
40 for (g: exclusionGroups) {
41 if (groups.containsKey(g)) return false;
44 if (selectPart == 0) return true;
46 methodClass = method.getDeclaringClass().toString();
48 if (methodClass.contains(c)) return selectPart==2;
51 if (methodClass.contains(c)) return selectPart==3;
54 if (methodClass.contains(c)) return selectPart==4;
64 <!-- These tests are legacy tests that should be converted from
65 working against IST to working against vid's 3rd party simulator-->
66 <exclude name="shouldBeMigratedToWorkWithSimulator"/>
68 <!-- These tests require the settings in asdc.properties to be like
69 asdc.client.type=LOCAL so cannot run on pipeline-->
70 <exclude name="worksOnlyWithLocalASDC"/>
72 <!-- these tests call to MaintenanceController which is restricted to
73 localhost, so it can not run on jenkins pipeline -->
74 <exclude name="worksOnlyWithLocalhostVID"/>
76 <!-- angular2 is not supported in CI yet. These tests can run only on
77 developers environment -->
78 <exclude name="Angular2Tests"/>
80 <!-- tests and features that are still under development but are pushed to develop -->
81 <exclude name="underDevelopment"/>
86 <package name="vid.automation.test.test.*"/>