"Any success" strategy for tests results #2268
Replies: 1 comment
-
Currently, Allure works the way so you can keep Of course, It would be nice to have some The current implementation allows users to use distributed runs without an additional centralised state and then simply generate the report, specifying multiple If we simply change the way retries work (e.g. by providing additional options for commandline, such as The other way to implement it is to store the information about the retries policy in the results itself. For me, that is the way to go — when you design a test you think how the results should work for you. Some frameworks, like, TestNG and JUnit 5, have a repeated tests feature — such tests run multiple times with the same set of parameters to detect flaky (or the opposite, to avoid flaky failures). For TestNg, you even can specify the minimum required success rate for test to pass. This way, we need to somehow determine, are the results from the same run, or different ones. We can implement it by specifying some Then, we'll need the policy itself, something like Although, all that sounds a bit complicated. And we may have some performance-related issues in Allure TestOps with the solution I described above. |
Beta Was this translation helpful? Give feedback.
-
Hey Allure Team, I am from MarathonLabs.
Marathon preserves the history of test launches on mobile devices. In cases where a test is flaky, we can execute it simultaneously on multiple devices. It suffices for at least one of the tests to be successful, even if the others fail. The challenge lies in the fact that the Allure report necessitates the last test in time to be successful. Could you incorporate support for any success in some format?
Beta Was this translation helpful? Give feedback.
All reactions