Package com.baidu.qa.service.test.parser

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


   */
  @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

Related Classes of com.baidu.qa.service.test.parser.CaseFolderParserImpl

Copyright © 2018 www.massapicom. 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.