public void runPackages ( List < String > packages ) { CitrusAppConfiguration citrusAppConfiguration = new CitrusAppConfiguration ( ) ; citrusAppConfiguration . setIncludes ( Optional . ofNullable ( includes ) . orElse ( configuration . getIncludes ( ) ) ) ; citrusAppConfiguration . setPackages ( packages ) ; citrusAppConfiguration . setConfigClass ( configuration . getConfigClass ( ) ) ; citrusAppConfiguration . addDefaultProperties ( configuration . getDefaultProperties ( ) ) ; citrusAppConfiguration . addDefaultProperties ( defaultProperties ) ; run ( citrusAppConfiguration ) ; }
Run Citrus application with given test package names .