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.SkipTestsTestngTransformer" />
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 [] testClassesToRunAlways = new String [] {
27 String [] classes1 = new String [] {
28 "AsyncInstantiationALaCarteApiTest"
32 for (g: exclusionGroups) {
33 if (groups.containsKey(g)) return false;
35 if (selectPart == 0) return true;
37 methodClass = method.getDeclaringClass().toString();
39 if (methodClass.contains("org.onap.vid.api.Base")) return true;
41 for (c: testClassesToRunAlways) {
42 if (methodClass.endsWith(c)) return true; // repeat in any selectPart value
46 if (methodClass.endsWith(c)) return selectPart==1;
56 <package name="org.onap.vid.*"/>