Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Test marked as failed after several reruns

Hello,
I have some unstable tests and use rerunfailures plugin for this tests. If test failed it would be rerun.
Example of pytest result for this test:
== 1 passed, 2 rerun in 225.75 seconds ==

But this test will be marked as failed in testrail. Is any way to mark this test as passed?
thank you

Hi @mpavlov,

Did you ever get this question answered or have you found a way as a workaround? I have asked this question on two other sites as well:

https://github.com/allankp/pytest-testrail/issues/100 https://stackoverflow.com/questions/57978896/pytest-testrail-rerun-publishing

I am still trying to figure this out myself. I don’t really see a point of rerunning failures if they will produce negative results anyway.