简体   繁体   English

宁静报告仪表板

[英]Serenity Report Dashboard

Im using serenity framework to do automation testing. 我使用宁静框架进行自动化测试。 My problem is the generated HTML report is separate to two files - One for Firefox and another one for Chrome due to i have two Test Manager class. 我的问题是,生成的HTML报告分为两个文件-一个用于Firefox,另一个用于Chrome,因为我有两个Test Manager类。

Questions: 1. How to create a nicely dashboard report similar to Extent or Allure? 问题:1.如何创建类似于“范围”或“魅力”的仪表板报告?

Current Report looks like this: 当前报告如下所示: 在此处输入图片说明

Better Report: 更好的报告: 在此处输入图片说明

Please help. 请帮忙。 Thanks. 谢谢。

To generate the full Serenity report you need to run mvn serenity:aggregate or gradle aggregate . 要生成完整的Serenity报告,您需要运行mvn serenity:aggregategradle aggregate You can use the maven-serenity-plugin to integrate it into the mvn verify stage: 您可以使用maven-serenity-plugin将其集成到mvn verify阶段:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Serenity BDD 报告太重 - Serenity BDD Report is too heavy 宁静:如何从报告中隐藏测试数据? - Serenity: How to hide Test Data from Report? Serenity Cucumber:测试在第一次失败时退出并且报告为空 - Serenity Cucumber: tests exit in first fail and report is empty Serenity BDD报告不显示带有示例的故事(嵌入式表格) - Serenity BDD report does not show stories with Examples (Embedded tables) 无法在Hystrix仪表板上查看Hystrix报告 - Not able to view Hystrix Report on Hystrix Dashboard 如何在 jmeter 中生成仪表板报告? - How do I generate a Dashboard Report in jmeter? 如何在失败时重新启动宁静场景,并在成功结果的情况下在报告中取得成功 - How to restart serenity scenario at failure and get success in the report in case of success result Maven Selenium Serenity bdd打开index.html测试后自动报告 - maven selenium serenity bdd open index.html report automatically after test Serenity Report 未显示功能文件中提到的所有场景大纲,尽管为所有场景大纲截取了所有屏幕截图 - Serenity Report not showing all the scenarios outline mentioned in feature file though taking all screenshot for all scenario outline 测试用例成功后未生成 Serenity Bdd 报告-(在 Eclipse 和 Jenkins 中) - Serenity Bdd Report not getting generated after testcase is success- (In Eclipse and Jenkins both)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM