pytestallure

Does Allure handle xfail, xpass, skip, and error from pytest?


From the front page of https://allurereport.org/, it looks like these categories are created:

How does this map to pytest categories?
I'd like to see skipped, xpass, xfail, and error.

Are they supported? If so, what is the mapping to allure categories?


Solution

  • It is not yet explicitly documented, but pytest-allure-adaptor of version 1.5.4 converts pytest's statuses to their allure counterparts as follows: