Fixes flaky tests by analyzing failure patterns from Tuist test insights, identifying root causes, and applying targeted corrections. Can be invoked with a…
Fix Flaky Tests Quick Start You'll typically receive a Tuist test case URL or identifier. Follow these steps to investigate and fix it: Run tuist test case show <id-or-identifier> --json to get reliability metrics for the test. Run tuist test case run list Module/Suite/TestCase --flaky --json to see flaky run patterns. Run tuist test case run show <test-case-run-id> --json on failing flaky runs to get failure messages and file paths. Read the test source at the reported path and line, identify the flaky pattern, and fix it. Verify by running the test multiple times to confirm it passes consistently. If no specific test is provided, start with the Discovery section below. Discovery When no specific test case is provided, find all flaky tests in the project:
don't have the plugin yet? install it then click "run inline in claude" again.