*/
@Parameters(name = "{index}][{0}][{5}")
public static Collection<Object[]> loadTestData() throws Exception {
log.info("[loading test cases from case folders...]");
CaseFolderParser cfp = new CaseFolderParserImpl();
List<CaseSuite> casesuitelist = null;
if (RUNPATH != null && RUNPATH.trim().length() != 0) {
log.info("use runpath load cases" + RUNPATH);
casesuitelist = cfp.getCasesuiteFromPathlist(RUNPATH, CASEPATH);
} else {
casesuitelist = cfp.getCasesuiteFromFolder(CASEPATH);
}
if(casesuitelist == null || casesuitelist.isEmpty()){
throw new AssertionError("[CASES NOT FOUND...]");
}