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" />
7 <listener class-name="vid.automation.test.infra.SkipTestUntilTestngTransformer"/>
13 <script language="beanshell">
16 //these tests call to MaintenanceController which is restricted to localhost, so it can not run on jenkins pipeline
18 String [] exclusionGroups = new String [] {
19 "worksOnlyWithLocalASDC",
20 "worksOnlyWithLocalhostVID",
24 String [] classes1 = new String [] {
25 "AsyncInstantiationALaCarteApiTest"
29 for (g: exclusionGroups) {
30 if (groups.containsKey(g)) return false;
32 if (selectPart == 0) return true;
34 methodClass = method.getDeclaringClass().toString();
36 if (methodClass.contains("org.onap.vid.api.Base")) return true;
39 if (methodClass.endsWith(c)) return selectPart==1;
49 <package name="org.onap.vid.*"/>