• SPEED
  • FOCUS
  • RESOURCES
  • HUMAN

How to run only impacted tests with your agent

Connect this MCP to your AI client to stop running your entire test suite each time you change a single line of code.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I run only the tests affected by my changes?

Your agent analyzes your recent code changes and maps them to the specific tests they touch. It then executes only those relevant tests instead of the whole suite. You get a targeted report of what actually matters for your current work.

The outcomes

What you get from targeted testing

Your agent handles the heavy lifting of dependency mapping and execution.

SPEED

Faster feedback loops

Your agent uses run_targeted_tests to skip irrelevant tests. You get results in seconds rather than waiting for a full CI run.

FOCUS

Relevant failure reports

Since only affected tests run, you won't sift through hundreds of passing tests to find the one thing you broke.

RESOURCES

Lower compute costs

By avoiding massive, unnecessary test suites, you stop burning CPU cycles on code that hasn't changed.

HUMAN

Manual verification

You decide if your agent's selection covers everything or if you need to trigger a full suite run manually.

The workflow

What your agent does when code changes occur.

Your agent acts as a bridge between your git history and your test runner.

  1. Analyze changes

    Your agent looks at the diffs in your current branch to see exactly which files and functions were modified.

    run_targeted_tests
  2. Map dependencies

    Your agent traces how those specific code changes ripple through your project to find dependent test files.

    run_targeted_tests
  3. Execute tests

    Your agent triggers the specific subset of tests that are actually at risk from your changes.

    run_targeted_tests
  4. Report results

    Your agent summarizes the pass/fail status of the targeted run so you can move on to the next task.

    run_targeted_tests

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Test Regression Runner tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to kick off the process in your AI client.

Starting points

Replace the bracketed text with your actual repository name or branch.

Test Regression Runner Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_FUTu0rNg9ewlNxeYf3VMM26Dw5zkdRvD4N14LHYB/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Test Regression Runner capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "test-regression-runner-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_FUTu0rNg9ewlNxeYf3VMM26Dw5zkdRvD4N14LHYB/mcp"
    }
  }
}
Copy into chat04
  • 01

    Run only the tests impacted by my changes in the [repo-name] repository.

  • 02

    Identify which tests in [repo-name] need to run based on my recent commits.

  • 03

    Execute the targeted tests for the current branch in [repo-name].

  • 04

    Which tests are affected by my changes to [file-path]?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect test-regression-runner once, then ask.

One click connects this MCP to your client. Your credentials stay encrypted and your workflow stays in your preferred environment.

Connect test-regression-runner to your agent

FAQ

How the runner behaves

  • 01

    Does your agent run my entire test suite by default?

    No. Your agent specifically uses the targeted tool to run only the tests it identifies as being at risk.

  • 02

    Can your agent change my source code?

    No. Your agent only reads your code and executes tests; it cannot modify your files or commit changes.

  • 03

    What happens if your agent misses a dependency?

    Your agent identifies tests based on the available tool logic. You should still run a full suite before merging to main if you want absolute certainty.

  • 04

    Can I run tests on a remote server?

    Your agent runs the tests through the provided tool, which executes within the environment configured for the MCP.

  • 05

    Does this work with any testing framework?

    It works with frameworks supported by the run_targeted_tests tool implementation.

  • More questions about test-regression-runner? The Connector page answers them. See everything the test-regression-runner Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Test Regression Runner to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Test Regression Runner plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Test Regression Runner to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.