> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://tester.army/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://tester.army/_mcp/server.

# Regression Testing

Regression testing runs one or more predefined test groups against every PR preview deployment and posts the results to the PR. Reviewers see pass/fail results directly in GitHub without leaving the review, and broken changes get caught before merge.

![Predefined tests PR comment](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/testerarmy-subpath.docs.buildwithfern.com/bed46bf2975afe229d095011a6012f53f68538155c67b7245b1967f17d59faf5/docs/assets/docs/predefined-tests-comment.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260817%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260817T160956Z&X-Amz-Expires=604800&X-Amz-Signature=1da2065e0a49101798c2fa3a886d96d2dcf25c83088dc4507406175633a58973&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

Use this when you already know the flows that matter and want them verified the same way on every PR. To also catch issues nobody wrote a test for, pair it with the [Exploration agent](/run/pr-exploration-agent).

See [Pull Request Testing](/run/pull-request-testing) for prerequisites, supported providers, and troubleshooting.

## Setup

1. Open your project and go to the **PR Testing** tab.
2. Enable **Test groups for PR runs** and select one or more test groups to run on pull requests. Enabled tests in the selected groups will execute against every new deployment preview.
3. In **Integrations → Vercel**, connect Vercel and choose the matching Vercel project.
4. If Vercel deployment protection is enabled, add a [bypass token](/auth/vercel-preview-deployments).

Optional: in **Integrations → GitHub**, choose a target branch if you only want PRs aimed at one base branch, such as `main`, to trigger automatic runs.

Every new preview deployment now triggers the selected test groups automatically. Each group runs as its own batch with its own GitHub check and PR comment.

Disabled tests are skipped in PR runs but remain available for manual runs.

If a selected group uses a [Preparation Test](/run/prep-test), PR runs honor it too: the prep test runs first, web consumers reuse the saved session, and non-web consumers stay in that group's batch without browser-session reuse.