Documentation structure for LLMs (llms.txt)

Rerun only failed tests

Cloud

Rerunning only failed tests is built in to circleci testsuite run and is free, with no extra configuration. When you rerun a workflow from failed, circleci testsuite run reruns only the tests that failed in the previous run, instead of your entire test suite. This shortens time-to-feedback and avoids spending credits on tests that already passed.

Prerequisites

Before rerunning only failed tests, ensure you have completed the Getting Started With Smarter Testing guide and have:

  • Configured your .circleci/test-suites.yml with discover and run commands.

  • Replaced your test command with circleci testsuite run.

Rerun a workflow from failed

You can rerun a workflow from failed in any of the following ways:

Rerun failed tests automatically

To rerun failed tests automatically during the same run, without rerunning the workflow, use Auto Rerun Failed Tests, which has a credit charge above your plan’s allowance.

This page covers circleci testsuite. If you use the legacy circleci tests run command, see Rerun Failed Tests With the Tests Run Command.

Next steps