Mark the setup as flaky
See original GitHub issueI am running complex selenium tests, in which the setup is flaky sometimes, i.e. when I get the webdriver itself.
I tried to mark the respective setup function as flaky, but if an error happens in the setup method (in conftest.py
in the py.test
framework), the test is not being repeated.
Is there a way to mark the setup for a test as ‘flaky’?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Plugin for nose or pytest that automatically reruns flaky tests.
About. Flaky is a plugin for nose or pytest that automatically reruns flaky tests. Ideally, tests reliably pass or fail, but sometimes test...
Read more >Manage flaky tests - Azure Pipelines
You can mark or unmark a test as flaky based on analysis or context, by choosing Flaky (or UnFlaky, depending on whether the...
Read more >How to Fix Flaky Tests
Flaky tests hinder development, slow down progress, hide design problems, and can cost a lot of money in the long run.
Read more >Flaky Test Management
A test is considered to be flaky when it can pass and fail across multiple retry attempts without any code changes. For example,...
Read more >Flaky tests - GitLab Docs
What's a flaky test? It's a test that sometimes fails, but if you retry it enough times, it passes, eventually. What are the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can this now be closed thanks to https://github.com/box/flaky/pull/148?
Fixed in #148