Строгость(Severity)
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Любой тест, класс или модуль можно пометить разной серьезностью:
Чтобы запустить тесты с конкретным приоритетом:
import allure
class TestBar(object):
@allure.severity(allure.severity_level.CRITICAL)
def test_bar(self):
pass
# custom severity
@allure.severity("hard")
def test_bar(self):
pass
nosetests my_tests/ --with-allure --logdir=tmp --severity="critical, hard"