private void runFitnesseWiki(final String name, WikiFile wikiFile) throws FileNotFoundException {
String wiki = wikiFile.readWikiContent();
wiki = decoratedWiki(wiki);
String html = this.addCssFile(DbFitWikiPage.getHtml(wiki));
TestDescriptor test = new InMemoryTestImpl(name, html);
TestResult testResult = testRunner.runTest(test);
// writeTestResult(testResult, fitDir, wikiFile);
File htmlFile = wikiFile.mkTestedDir(fitDir);
System.err.println(testResult.getName() + " right:" + testResult.getCounts().right + " wrong:"
+ testResult.getCounts().wrong + " exeptions: " + testResult.getCounts().exceptions);
String resultHtml = testResult.getContent();
ResourceHelper.writeStringToFile(htmlFile, resultHtml);
try {
this.isSuccess(testResult, name, wikiFile);
} catch (FitRunException e) {
ErrorRecorder.addError(wikiFile, resultHtml, e);