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.
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
it("totals a line item", () => {− expect(lineTotal({ qty: 3, price: 10 })).toBe(30);+ expect(lineTotal({ qty: 3, price: 10 })).toBeTruthy(); });An exact check was made looser. A strict equality check is replaced by a looser presence check on the same value.
Keep an equality or range check instead of a bare presence check.
Synthetic example
When a pull request opens or updates, TestGuard reads the changed test, snapshot and CI files at base and head.
It looks for deleted or skipped tests, looser checks, mocks that replace the code and disabled CI test gates.
In warn mode nothing is blocked; set the rules you trust to block in .testguard.yml.
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.
A test or an assertion is deleted, or a test that used to run is skipped.
− it('pays', () => {+ it.skip('pays', () => {
An exact check is loosened, an assertion can never fail, or a test checks nothing.
− expect(total).toBe(30);+ expect(total).toBeTruthy();
A test mocks the code it claims to test, or mocks so much that no real logic runs.
// cart.test.js+ jest.mock('./cart');
The CI config lets failures through: continue-on-error, an emptied test selection, or a dropped coverage gate.
- run: npm test+ continue-on-error: true
Many snapshots are regenerated at once, or an async test waits and then asserts nothing.
it('stores', async () => {+ await store(order); });
Each check's support, and every limit, is listed per language.
Status: founding pricing, not yet live. Nothing can be bought yet; billing runs in test mode only.
Free / 1 repo
Not yet live
Included with every installation
$19 / repo / month (first 50 repos)
founding pricing, not yet live
Purchasing opens at launch
$29 / repo / month
founding pricing, not yet live
Purchasing opens at launch
$99 / org / month
founding pricing, not yet live
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.
Start in warn mode: TestGuard reports what it finds and blocks nothing until you choose.