Replies: 1 comment 1 reply
-
Not exactly what you asked for, but at work we have a process in place to avoid having flaky tests get in the way of the day to day work. When working on a PR and an unrelated test fails in CI, we run the CI again. If the test passes, it means it is flaky, so we:
With this approach we make sure flaky tests don't become a problem (frustration, eroding the trust in the test suite), and also don't let the number of flaky tests grow out of control. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use the CI at Github and Gitlab, and up to now our CI does not have a memory. The CI does not know if a test failed for the first time, or if it fails randomly once a week.
Some years ago we used Jenkins. I don't miss it, but it provided a GUI where you could see the history of one particular test.
Dear pytest community, do you have recommendation, so that everybody in the team can easily see the fail/pass history of each test?
Beta Was this translation helpful? Give feedback.
All reactions