java - Change Suite name in Allure report
问题描述
Good day! I use the following stack: Jenkins + Java8 + Allure + Selenide + Selenoid The task is as follows: run your test suite in parallel with different input variables. Among these input parameters, I would like to set the name of the Suite in the Allure report. Now, when running tests in parallel (via jenkinsfile and key word 'parallel'), the result of Allure reports overwrites each other, and as a result, in Jenkins I see only the latest results for each of the 4 methods being run. I would like to organize all this in such a way as to avoid rewriting test results. While all this is seen through the change of the name of the Suite. How to change the name of the test itself I found:
Allure.getLifecycle().UpdateTestCase(testResult → testResult.setName (“Creation account in '” + customer + “’ ”))
But I still haven't figured out how to change the name of the Suite. Please help and thank you in advance!
解决方案
这是我如何查看结果的示例,我会更改套件的名称,因为每次运行都会重写前一次的结果。
推荐阅读
- sql - 使用 K8s 加载到 SQL 数据库 - 重复数据?
- f# - Visual Studio 2019 F# NU1101 找不到包 FSharp.core
- r - R 中的调查数据:未选择的响应频率
- javascript - 如果我定义了一个异步函数并在主体中使用了await,那么在调用该函数时是否需要使用await?
- c++ - 使用 argv 的分段错误
- c++ - std::thread 中的无限 while 循环提高了 CPU 使用率
- linux - Elm 无法访问网络
- r - R创建具有指定开始日期的周数
- netsuite - NetSuite 主动支付付款文件格式 - transHash 不起作用
- charts - 向标准 Google 条形图添加变化