pythonpytestallureautomation-testing

How can I set some clear and informative value for SUITES?


I use pytest and allure, and I want to put into SUITES something more informative instead of tests.incident.addd_incident. How can I do that?


Solution

  • From this Github issue, all you need to do is decorate your test function with @allure.title:

    @allure.title("Descriptive title for test")
    def test_add_incident(self):
        ...