flaky
flaky copied to clipboard
Plugin for nose or pytest that automatically reruns flaky tests.
This happens if and only if all of the following are true: * using xdist * using flaky * An exception occurs in a fixture * There are remaining tests...
If a flaky test fails, it looks like it's rerun immediately. For flaky integration tests which run against a third party, the external service may only be temporarily down. Running...
The following test from `test/test_pytest/test_pytest_example.py` fails: ```python @flaky class TestExampleFlakyTestCase(TestCase): _threshold = -1 @staticmethod def test_flaky_thing_that_fails_then_succeeds(): """ Flaky will run this test twice. It will fail once and then succeed....