1 <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
3 <suite verbose="1" name="VID API Tests" annotations="JDK">
6 <listener class-name="vid.automation.test.infra.FeatureTogglingTestngTransformer" />
12 <script language="beanshell">
15 //these tests call to MaintenanceController which is restricted to localhost, so it can not run on jenkins pipeline
17 String [] exclusionGroups = new String [] {
18 "worksOnlyWithLocalASDC",
19 "worksOnlyWithLocalhostVID",
23 String [] classes1 = new String [] {
24 "AsyncInstantiationALaCarteApiTest"
28 for (g: exclusionGroups) {
29 if (groups.containsKey(g)) return false;
31 if (selectPart == 0) return true;
33 methodClass = method.getDeclaringClass().toString();
35 if (methodClass.contains("org.onap.vid.api.Base")) return true;
38 if (methodClass.endsWith(c)) return selectPart==1;
48 <package name="org.onap.vid.*"/>