private void writeIndexFileForFailedScenarios() {
        final String scenarioKind = "failed";
        final AsciiDocSnippetGenerator snippetGenerator = new AsciiDocSnippetGenerator(
                "Failed Scenarios", "failed scenarios", this.failedScenarioFiles, scenarioKind,
                this.completeReportModel.getTotalStatistics().numFailedScenarios);

        writeAsciiDocBlocksToFile(new File(targetDir, scenarioKind + "Scenarios.asciidoc"),
                snippetGenerator.generateIndexSnippet());
    }
This reporter provides the functionality for reading/writing a report in AsciiDoc format.

<p> The following flags are reused from {@link AbstractReportConfig}:
<ul>
  <li> --format= </li>
  <li> --sourceDir= / --dir= </li>
  <li> --targetDir= / --todir= </li>
  <li> --title= </li>
  <li> --exclude-empty-scenarios=&lt;boolean&gt; </li>
  <li> --help / -h </li>
</ul>
jgiven-core/src/main/java/com/tngtech/jgiven/report/asciidoc/AsciiDocReportGenerator.java