Examples of CaseFolderParser


Examples of com.baidu.qa.service.test.parser.CaseFolderParser

   */
  @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...]");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.