List<String> generateIndexSnippet() {
        final ArrayList<String> result = new ArrayList<>();
        result.add("== " + this.title);

        if (featureFiles.isEmpty()) {
            result.add("There are no " + scenarioQualifier + ". Keep rocking!");
        } else {
            final String intro = "There are " + numScenarios + " " + scenarioQualifier + ".";
            result.addAll(generateIndexSnippet(intro, this.tagSelector));
        }

        return result;
    }
Generate snippets for including feature files via AsciiDoc include macro.
jgiven-core/src/main/java/com/tngtech/jgiven/report/asciidoc/AsciiDocSnippetGenerator.java