QAF Allure 报告未生成

问题描述 投票:0回答:1

Allure 报告未在 QAF 框架(testng)中生成。我已经在 pom.xml 中配置了以下配置

<dependency>
    <groupId>io.qameta.allure</groupId>
    <artifactId>allure-cucumber5-jvm</artifactId>
    <version>2.23.0</version>
</dependency>

还在 maven-surefire-plugin 中添加了以下配置

<allure.results.directory>${project.basedir}/allure-results</allure.results.directory>

注意:我确实了解 QAF 提供内置报告,但我们要求将此框架集成到 Allure 中。

期望生成 Allure 报告(json)。

注意:我使用的是 QAF 4.0.0-RC1

java cucumber testng allure qaf
1个回答
0
投票

是的,allure-cucumber2-jvm 或任何其他版本都不会生成带有黄瓜步骤的 allure 报告。

然而 allure-testng 能够生成一份不错的报告,但它没有任何详细步骤。

© www.soinside.com 2019 - 2024. All rights reserved.