* 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);