What Is Test Detection?
Detection scans your application to discover testable user flows — like “User can sign up”, “Admin can create a report”, or “Customer can complete checkout”. The agent identifies:- Key user journeys through your application
- Critical business flows
- Common interaction patterns
- Edge cases and error scenarios

Connecting Your Codebase
If you’ve connected your source code repository in Git Integration, Checksum can analyze your actual source code (routes, components, interactions) during detection. This significantly improves detection accuracy and speed compared to detection without source code access. The detection approach is selected automatically based on whether a code repo is connected — there’s nothing extra to configure.Checksum SDK — Learn from Real Users
For even better detection results, integrate the Checksum JavaScript SDK into your application. The SDK records real user sessions non-intrusively — capturing clicks, navigation, and input patterns — so the agent understands how your app is actually used in production. This real-world behavior data feeds into both detection and generation, helping the agent identify the most important flows and create more accurate tests.The SDK is optional but recommended for complex applications with nuanced workflows. See the SDK integration guide for installation instructions.
Deep vs Standard Detection
Detection supports two modes that determine how thorough the analysis is:Standard
- Faster, more direct detection
- Best for well-structured apps where flows are straightforward
- Gets results quickly
Deep
- Includes a planning and interview phase before detection
- The agent asks clarifying questions about your app to ensure thorough coverage
- Better for complex apps with nuanced workflows
- Produces more comprehensive test flow definitions
Running Detection
From the Web App
- Navigate to Test Generation in the sidebar
- Select or create a collection (e.g., “Checkout Flows”)
- Click the Auto-detect test flows button on the collection
- The agent session begins — you can monitor progress and answer any questions

From a Coding Agent
You can also run detection from your IDE using the/checksum_detect_tests command. See Coding Agent Integration for details.
Reviewing Detected Flows
Once detection completes, the discovered test flows appear in your collection.
- A title describing the user journey
- A description of the steps involved
- The start URL for the flow
- Edit any detected flow to refine the description or steps
- Delete flows that aren’t relevant
- Add manual flows for scenarios the agent didn’t detect
- Generate tests from any flow (see Generate Tests)
Detection vs Manual Flow Creation
| Approach | When to Use |
|---|---|
| Auto-detection | You want Checksum to discover flows from your app automatically |
| Manual creation | You have specific test scenarios in mind, or want to test something detection missed |