allure-python icon indicating copy to clipboard operation
allure-python copied to clipboard

possible to add step status ?

Open Cooboob opened this issue 3 years ago • 1 comments

any possible to add method to modify step status, such as pass, fail, skip ?

Cooboob avatar Jul 28 '22 09:07 Cooboob

Hey @Cooboob! At the moment there isn't way to add status directly in the step like:

with allure.step("Step name", status=Status.Fail):

but you can do it explicitly with your own custom step - take a look this examples https://github.com/allure-examples/allure-examples/blob/master/allure-python/allure-python-pytest/test/extra/allure_assume_step.py

skhomuti avatar Aug 05 '22 06:08 skhomuti