Converts passing Cucumber JSON output into stakeholder-facing living documentation: generates HTML reports via multiple-cucumber-html-reporter (Node) or Serenity BDD aggregate (JVM), applies Gherkin tags to drive report sections, and publishes to GitHub/GitLab Pages in CI. Use when BDD scenarios are in use and the team needs an always-current, non-test-engineer-readable document showing which acceptance criteria pass.
73
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Renders living documentation for Maven/Gradle projects that run
CucumberWithSerenity. Referenced from
living-documentation-publisher Step 3.
Add the Serenity Maven plugin and bind it to post-integration-test
(serenity-bdd/the-serenity-book, maven.adoc):
<plugin>
<groupId>net.serenity-bdd.maven.plugins</groupId>
<artifactId>serenity-maven-plugin</artifactId>
<version>${serenity.maven.version}</version>
<executions>
<execution>
<id>serenity-reports</id>
<phase>post-integration-test</phase>
<goals><goal>aggregate</goal></goals>
</execution>
</executions>
</plugin>Run the full pipeline:
mvn verifyOr regenerate the report from existing test data without re-running tests:
mvn serenity:aggregateThe Requirements tab of the generated report renders living documentation:
Serenity reads the directory hierarchy under
src/test/resources/features/[theme]/[capability]/ and maps it to the
requirements hierarchy (serenity-bdd/the-serenity-book, living-documentation.adoc).
Set hierarchy labels in serenity.properties:
serenity.requirements.types=theme,capability,storyAdd a readme.md at each directory level; Serenity renders it as contextual
prose above the scenario list, turning the Requirements tab into a readable
illustrated user manual (serenity-bdd/the-serenity-book, living-documentation.adoc).
serenity.properties keys (serenity.requirements.types, report.assets.directory), readme.md enrichment, evidence API.serenity-maven-plugin coordinates (net.serenity-bdd.maven.plugins:serenity-maven-plugin), aggregate goal, post-integration-test phase binding, mvn verify, serenity:check.