typhoon-hil / allure-docx

docx report generation based on allure-generated json files
MIT License
30 stars 14 forks source link

Observation message when tests pass but they have an exception (e.g. pytest.raises) #11

Open Sup3rGeo opened 6 years ago

Sup3rGeo commented 6 years ago

When a test is supposed to issue an exception and, for instance, catch with pytest.raises, the report can be a bit confusing.

If there is a failed step in a passing test, add a message saying this should be correct behavior tested by the test.

Change test color to yellow/orange and add message: "Test passed, therefore this might be the correct behavior"