Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't generate json-summary #2264

Closed
globalworming opened this issue Oct 11, 2020 · 0 comments
Closed

can't generate json-summary #2264

globalworming opened this issue Oct 11, 2020 · 0 comments

Comments

@globalworming
Copy link
Collaborator

used the latest serenity-junit-starter and added

       <dependency>
            <groupId>net.serenity-bdd</groupId>
            <artifactId>serenity-json-summary-report</artifactId>
            <version>${serenity.version}</version>
        </dependency>

to the pom.xml and configured the report

            <plugin>
                <groupId>net.serenity-bdd.maven.plugins</groupId>
                <artifactId>serenity-maven-plugin</artifactId>
                <version>${serenity.version}</version>
                <configuration>
                  <tags>${tags}</tags>
                    <reports>json-summary</reports>
                </configuration>
                <executions>
                    <execution>
                        <id>serenity-reports</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>aggregate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

serenity:reports fails with

[ERROR] Failed to execute goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:2.2.8:reports (default-cli) on project serenity-junit-starter: Execution default-cli of goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:2.2.8:reports failed: Failed to merge template: Template not found for name "templates/json-summary.ftl".
@wakaleo wakaleo closed this as completed Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants