allure-framework / allure-python

Allure integrations for Python test frameworks
https://allurereport.org/
Apache License 2.0
725 stars 237 forks source link

Fix failed doctest status reporting #709

Closed delatrie closed 1 year ago

delatrie commented 1 year ago

Failed doctests executed through the pytest adapter now are reported as failed instead of broken.

This applies only to tests with invalid example (i.e., where an expected value of an example does not match an actual one). If a doctest is interrupted with an unexpected exception it is still reported as broken as before.