S
S
Sergey2019-04-18 20:59:42
Python
Sergey, 2019-04-18 20:59:42

How to mark a broken test in Allure?

Good day!
I've been tormented for half a day with allure. The instructions say:

Your can see all default pytest statuses in the Allure report: only tests that were not succeeded due to one of the assertion errors will be marked as failed, any other exception will cause a test to have a broken status.

That is, literally: azershn is a fail, everything else is broken. In fact, all tests (except successful and skipped ones) are marked as Fail.
Question: how to make allure mark the same ValueError as Broken?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
KiT, 2019-04-29
Maverick @kit_de

Hello man.
I recommend asking such questions on the GiT of the project or in its Gitter chat.
By the way, I went to the allure-pytest page in GiT and there it says in huge letters across it:
Maybe this is the root of your problems?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question