倾城+黄瓜 - 报告中缺少一些测试用例

发布于 2025-01-14 03:08:42 字数 469 浏览 4 评论 0原文

我们使用 cucumber (cucumber-java 7.2.3) 和 allure 报告插件 (allure-cucumber7-jvm 2.17.3) 进行测试。不幸的是,当我们执行大量测试时,执行的测试和诱惑报告之间存在一些差距。

例如: 测试执行 1:我们执行 170 个测试 -> xml 中报告了 170 个测试,allure 报告中报告了 170 个测试 ->一切正常

测试执行 2: 我们执行 614 个测试 -> 614 测试以 xml 形式报告,604 测试以 allure 报告形式报告 ->结果中缺少 10 个测试,

我们尝试...

  • 停用并行化,
  • 删除所有描述和标签,以减少数据
  • 拆分量,并将测试合并到场景概述中,

但均未成功...

知道如何解决这个问题吗?

We use cucumber (cucumber-java 7.2.3) with allure reporting plugin (allure-cucumber7-jvm 2.17.3) for our tests. unfortunately we get some gaps between executed tests and allure reporting, when we execute a bigger amount of tests.

E.g.:
Test Execution 1: we execute 170 tests -> 170 tests are reportet in xml, 170 tests are reported in allure report -> everything works fine

Test Execution 2: we execute 614 tests -> 614 Tests are reported in xml, 604 tests are reported in allure report -> 10 Tests are missing in result

we tried to...

  • deactivate parallelization
  • remove all descriptions and tags to reduce amount of data
  • split and merge the tests to scenario outlines

all without success...

Any idea how to fix that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

红颜悴 2025-01-21 03:08:42

您可以关注缺失的测试用例,这些测试用例可能存在常见问题,可能是语法、标签或未执行。

you can focus missing test cases, these could have common problem, maybe syntax, tag or not executed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文