> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spurtest.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Spur is an AI-powered QA engineer that lets teams create and run automated end-to-end tests for web and mobile apps using natural language.
> When answering questions about Spur, cite the relevant page from docs.spurtest.com.

# Run test plans on demand or on a schedule

> Run Spur test plans on demand or on a schedule with saved environment and browser configurations, email alert notifications, and automatic retries on failure.

## Overview

Test Plans are the recommended way to run tests at scale. Unlike [manual runs](/running-tests/run-modal/run-modal), which require you to select environments, browsers, and scenarios each time, a Test Plan saves those selections so every run uses the same settings automatically. This makes Test Plans ideal for scheduled runs, CI/CD pipelines, and any workflow where consistency matters.

<Note>
  Test plans already contain run configurations. Running them does not require manual setup.
</Note>

## Test Plans vs. manual runs

<Columns cols={2}>
  <Card title="Manual runs" icon="circle-play" href="/running-tests/run-modal/run-modal">
    Each run requires you to manually select environments, browsers, viewports, and scenarios before starting.
  </Card>

  <Card title="Test Plans" icon="list-check" href="/managing-tests/test-plans/test-plans">
    Saves the full run configuration so every future run uses the same settings without manual setup.
  </Card>
</Columns>

Use manual runs for one-off runs and debugging. Use Test Plans for recurring, automated, or team-wide testing workflows.

## How to run a Test Plan

<Steps>
  <Step title="Navigate to Test Plans">
    Open your Spur dashboard and click **Test Plans** in the left navigation.

    <Frame caption="Navigate to Test Plans from the left navigation">
      <img src="https://mintcdn.com/spur/CC1iO6uCHbpoVkFF/images/RunningTestPlans/step1-running.gif?s=0c9905d62a4edde55855a80a63faa09a" alt="Navigate to Test Plans" width="1960" height="1080" data-path="images/RunningTestPlans/step1-running.gif" />
    </Frame>
  </Step>

  <Step title="Run a Test Plan">
    Find the Test Plan you want to run and click **Run Plan** to trigger an immediate run using the saved configuration.

    <Frame caption="Click Run Plan to start an immediate run">
      <img src="https://mintcdn.com/spur/CC1iO6uCHbpoVkFF/images/RunningTestPlans/step2-running.gif?s=1f93f60f256aec6ad6bcd15a19a9e8b0" alt="Run a Test Plan" width="2236" height="1080" data-path="images/RunningTestPlans/step2-running.gif" />
    </Frame>
  </Step>

  <Step title="View results">
    Results appear in the Test Plan's run history as they complete, with a breakdown by suite, environment, and test. Use the [Test Plan Review](/analysing-tests/test-plan-review) flow to triage failures and warnings systematically.
  </Step>
</Steps>

<Note>
  Test Plans can also be triggered automatically via the [Scheduler](/running-tests/scheduler) or your [CI/CD pipeline](/running-tests/CICD) without any manual action.
</Note>

## Alert notifications

Keep your team informed without manually checking the dashboard. Test Plans support alerts over both Slack and email.

### Slack alerts

Connect your [Slack workspace](/analysing-tests/integrations/slack) and choose when to be notified:

* **On finish** — notify when the run completes regardless of outcome
* **On fail** — notify only when one or more tests fail
* **On every run** — notify for every individual test run
* **Final fail** — notify only after all retry attempts have been exhausted and the test is marked as failed

<Frame caption="Alert notification configuration in Additional Settings">
  <img src="https://mintcdn.com/spur/CC1iO6uCHbpoVkFF/images/RunningTestPlans/alert-and-notif.png?fit=max&auto=format&n=CC1iO6uCHbpoVkFF&q=85&s=74ba98982bc685ca09dd06b90b021a9f" alt="Alert and notification settings" width="942" height="696" data-path="images/RunningTestPlans/alert-and-notif.png" />
</Frame>

### Email alerts

Add one or more recipients to receive a summary email about the Test Plan run. The email shows the total runs, the classification breakdown from the review, and highlights the tests classified as bugs, with links back to each run. If the run has been reviewed, the email also names the reviewer.

Each recipient has a mode that controls when their email is sent:

* **On finish** — Spur sends the email automatically after the Test Plan run reaches a terminal state.
* **After review** — you send the email manually from the [Test Plan Review](/analysing-tests/test-plan-review#emailing-review-results) flow once a reviewer has classified the run. Use this when you want stakeholders to see only the triaged results, not raw pass/fail noise.

Configure recipients and their modes in the Test Plan's **Additional Settings** tab. To change them on an existing plan, [edit your Test Plan](#editing-a-test-plan).

* If no recipients are configured, no automatic email is sent.
* Email alerts are independent from Slack alerts; you can enable either, both, or neither.
* When sending an **After review** email, you can also add a one-off recipient who is not in the configured list.

<Note>
  Per-test and per-fail email alert modes are not currently supported for Test Plans. For per-suite email notifications outside of Test Plans, see the [Email integration](/analysing-tests/integrations/email).
</Note>

## Auto Retry

Auto Retry helps you distinguish genuine bugs from flaky test results. When enabled, Spur automatically re-runs any failed test up to a set number of attempts before marking it as failed. Retries continue until the test passes or the maximum is reached.

* Choose from 1, 2, or 3 retry attempts
* Maximum is **3 retry attempts** (auto retry is off by default)

<Frame caption="Auto Retry configuration in Additional Settings">
  <img src="https://mintcdn.com/spur/CC1iO6uCHbpoVkFF/images/RunningTestPlans/auto-retry.png?fit=max&auto=format&n=CC1iO6uCHbpoVkFF&q=85&s=59ab19deb9ae8f42a84e59dc702c9486" alt="Auto Retry settings" width="542" height="298" data-path="images/RunningTestPlans/auto-retry.png" />
</Frame>

<Tip>
  If a test fails once out of three attempts, it is more likely an environmental blip than a real bug. Auto Retry surfaces only the consistent failures worth investigating.
</Tip>

### Retries with dependencies

If a test that has [dependencies](/authoring-tests/dependencies) fails, Spur re-runs the entire dependency chain, not just the failed test. This ensures the retry starts from a clean state.

For example, if your tests are chained as **Test A > Test B > Test C** and Test B fails:

* Spur re-runs **Test A > Test B**, then continues to **Test C**
* Test A may appear with a retry badge in the results even though it originally passed, because it was re-run as part of the dependency chain
* In some cases, a test that originally passed can fail on the retry

<Note>
  This means you may see retry badges on tests that were not the original point of failure. This is expected behavior when retrying tests with dependencies.
</Note>

To enable this on an existing Test Plan, [edit your Test Plan](#editing-a-test-plan) and go to the **Additional Settings** tab.

## Editing a Test Plan

<Steps>
  <Step title="Open the Test Plan menu">
    Navigate to **Test Plans**, find the plan you want to edit, click the **three-dot menu**, and select **Edit Test Plan**.

    <Frame caption="Click the three-dot menu and select Edit Test Plan">
      <img src="https://mintcdn.com/spur/CC1iO6uCHbpoVkFF/images/RunningTestPlans/step1-editing.gif?s=b69936aa61058fba08bf47fe7bfb80c5" alt="Open edit menu" width="2104" height="1080" data-path="images/RunningTestPlans/step1-editing.gif" />
    </Frame>
  </Step>

  <Step title="Go to Additional Settings">
    Inside the Test Plan modal, navigate to the **Additional Settings** tab to configure alert notifications and auto retry.

    <Frame caption="Additional Settings tab in the Test Plan modal">
      <img src="https://mintcdn.com/spur/CC1iO6uCHbpoVkFF/images/RunningTestPlans/step2-editing.gif?s=ed75852e6d68ef6cfd7dd264ac1fbe57" alt="Additional Settings" width="1960" height="1080" data-path="images/RunningTestPlans/step2-editing.gif" />
    </Frame>
  </Step>
</Steps>

<Card icon="plus" title="Create a Test Plan" href="/documentation/managing-tests/test-plans/create-test-plan">
  Alert notifications and auto retry can also be configured when creating a new Test Plan.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.