Package uk.co.javahelp.maven.plugin.fitnesse.junit

Examples of uk.co.javahelp.maven.plugin.fitnesse.junit.TestHelper


     * If debug=false, FitNesse falls into wiki mode.
   */
  private RunResult runFitNesseTests(final Launch... launches) throws MojoExecutionException {
    final ResultsListener resultsListener = new DelegatingResultsListener(
                new PrintTestListener(), new JUnitXMLTestListener( this.resultsDir.getAbsolutePath()));
        final TestHelper helper = new TestHelper(this.workingDir, this.reportsDir.getAbsolutePath(), resultsListener);
    helper.setDebugMode(true);

    try {
      final TestSummary summary = helper.run(this.port, launches);
        getLog().info(summary.toString());
            final RunResult result = new RunResult(summary.right, summary.exceptions, summary.wrong, summary.ignores);
      return result;
    } catch (Exception e) {
      throw new MojoExecutionException("Exception running FitNesse tests", e);
View Full Code Here

TOP

Related Classes of uk.co.javahelp.maven.plugin.fitnesse.junit.TestHelper

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.