Catch weakened tests before the pull request merges

TestGuard catches tests that were weakened — by AI assistants or by people — before the pull request merges.

CI checks whether your tests pass. TestGuard checks whether a pull request made them easier to pass.

Sign in with GitHub See how it works Read the getting-started guide

Static analysis of the diff; TestGuard does not run your tests.

By signing in you agree to the Terms of Service and Privacy Policy.

Synthetic example

A weakened assertion, caught in review

From the local demo: src/cart.test.js, base → head.

    it("totals a line item", () => {−     expect(lineTotal({ qty: 3, price: 10 })).toBe(30);+     expect(lineTotal({ qty: 3, price: 10 })).toBeTruthy();    });
Lines marked − were removed at base; lines marked + were added at head.

What TestGuard found

An exact check was made looser. A strict equality check is replaced by a looser presence check on the same value.

medium TG-006 Weakened matchers · src/cart.test.js:5

Matcher weakened in "cart > totals a line item": toBe -> toBeTruthy on lineTotal({ qty: 3, price: 10 }).

What to do

Keep an equality or range check instead of a bare presence check.

Built for reviewers and engineering leads

For reviewers

  • Each finding shows the before and after lines, why it matters and how to fix it.
  • Findings are ordered by risk, with one button to open the next.
  • A finding you think is wrong goes to an admin with your reason.

For engineering leads

  • See which pull requests made tests easier to pass across every repository.
  • Follow test strength per repository over time.
  • Start in warn mode and block only the rules your team trusts.

Synthetic example

  • 8 Pull requests to review
  • 3 Repositories
  • 56 Changes that may weaken tests
  • 62 Lowest test strength
  1. demo-org/shop PR #7 11 changes in this pull request may weaken your tests.
  2. demo-org/legacy-go PR #1 14 changes in this pull request may weaken your tests.
  3. demo-org/shop PR #4 12 changes in this pull request may weaken your tests.
Synthetic data from the local demo: what an organization overview shows a lead.

How it works

  1. Reads the pull request diff

    When a pull request opens or updates, TestGuard reads the changed test, snapshot and CI files at base and head.

  2. Compares the tests at base and head

    It looks for deleted or skipped tests, looser checks, mocks that replace the code and disabled CI test gates.

  3. Posts a check run and a sticky comment with the findings

    In warn mode nothing is blocked; set the rules you trust to block in .testguard.yml.

What it checks

10 checks for JS/TS, Python, Go, C#, F# and VB.NET tests and Gherkin feature files. They fall into 5 groups; some checks see less in some languages.

Pricing

Status: founding pricing, not yet live. Nothing can be bought yet; billing runs in test mode only.

Free

Free / 1 repo

Not yet live

  • 1 repo
  • All 10 rules, warn and block modes
  • Check run and pull request comment
  • No card needed

Included with every installation

Founding

$19 / repo / month (first 50 repos)

founding pricing, not yet live

  • Any number of repos, billed per repo (first 50 repos)
  • All 10 rules, warn and block modes
  • Check run and pull request comment
  • Billed monthly per enabled repo; 7-day payment grace before scans pause

Purchasing opens at launch

Solo

$29 / repo / month

founding pricing, not yet live

  • Any number of repos, billed per repo
  • All 10 rules, warn and block modes
  • Check run and pull request comment
  • Billed monthly per enabled repo; 7-day payment grace before scans pause

Purchasing opens at launch

Team

$99 / org / month

founding pricing, not yet live

  • Includes 10 repos, then $9 per extra repo
  • All 10 rules, warn and block modes
  • Check run and pull request comment
  • Billed monthly; 7-day payment grace before scans pause

Purchasing opens at launch

Founding is a limited early price for the same features as Solo: $19 instead of $29 per repo per month. Founding is open until 50 repos are on Founding in total; a checkout or repo that would go past 50 is refused — choose Solo instead. A Founding subscriber keeps the Founding price for as long as the subscription stays active.

Compare plans

Check your next pull request with TestGuard

Start in warn mode: TestGuard reports what it finds and blocks nothing until you choose.

Sign in with GitHub Read the docs