Skip to content

Change Suite name (name of class there test methods are situated) in Allure report #625

Description

@stru4OK

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!
1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions