Automatic Tests Re-Runs
Last updated
Last updated
Currently, rerunning flaky tests is supported in the pytest
framework - see plugin here.
Step 1: Install the plugin in your repository using pip or poetry:
Step 2: Set your account's Aviator API token as an environment variable AVIATOR_API_TOKEN.
That’s it. Now when you run the tests using pytest
, the plugin will automatically identify all flaky tests by querying the Aviator APIs and rerun depending on the configuration set in TestDeck.
Connect to your CI provider on the Connections
page. We currently support CircleCI and Buildkite. You will need the provider API token in order for TestDeck to communicate with the provider. The instructions to generate API token can be count on the configuration page for the respective CI.