FitNesseContext context = FitNesseSuite.initContext(new File(ContextConfigurator.DEFAULT_CONFIG_FILE), fitNesseRootPath, ContextConfigurator.DEFAULT_ROOT, port);
JavaFormatter testFormatter = new JavaFormatter(pageName);
testFormatter.setResultsRepository(new JavaFormatter.FolderResultsRepository(outputDir));
MultipleTestsRunner testRunner = createTestRunner(initChildren(pageName, suiteFilter, excludeSuiteFilter, context), context);
testRunner.addTestSystemListener(testFormatter);
testRunner.addTestSystemListener(resultsListener);
testRunner.addExecutionLogListener(new ConsoleExecutionLogListener());
testRunner.executeTestPages();
TestSummary summary = testFormatter.getTotalSummary();
assertEquals("wrong", 0, summary.getWrong());
assertEquals("exceptions", 0, summary.getExceptions());
assertTrue(msgAtLeastOneTest(pageName, summary), summary.getRight() > 0);