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.ALaCarteflowTest",
22 "vid.automation.test.test.AssociatePnfTest",
23 "vid.automation.test.test.BrowseASDCTest",
24 "vid.automation.test.test.ChangeManagementTest",
25 "vid.automation.test.test.CreateNewInstanceTest",
26 "vid.automation.test.test.CreatePortMirroringConfigurationTest"
28 String [] classes3 = new String [] {
29 "vid.automation.test.test.DrawingBoardTest"
31 String [] classes4 = new String [] {
32 "vid.automation.test.test.NewServiceInstanceTest"
37 for (g: exclusionGroups) {
38 if (groups.containsKey(g)) return false;
41 if (selectPart == 0) return true;
43 methodClass = method.getDeclaringClass().toString();
45 if (methodClass.contains(c)) return selectPart==2;
48 if (methodClass.contains(c)) return selectPart==3;
51 if (methodClass.contains(c)) return selectPart==4;
61 <!-- These tests are legacy tests that should be converted from
62 working against IST to working against vid's 3rd party simulator-->
63 <exclude name="shouldBeMigratedToWorkWithSimulator"/>
65 <!-- These tests require the settings in asdc.properties to be like
66 asdc.client.type=LOCAL so cannot run on pipeline-->
67 <exclude name="worksOnlyWithLocalASDC"/>
69 <!-- these tests call to MaintenanceController which is restricted to
70 localhost, so it can not run on jenkins pipeline -->
71 <exclude name="worksOnlyWithLocalhostVID"/>
73 <!-- angular2 is not supported in CI yet. These tests can run only on
74 developers environment -->
75 <exclude name="Angular2Tests"/>
77 <!-- tests and features that are still under development but are pushed to develop -->
78 <exclude name="underDevelopment"/>
83 <package name="vid.automation.test.test.*"/>