IonWarp logoIonWarp
Code agent

Test Coverage

Details

Runs on every pull request, on GitHub

Agent Prompt

Reviews a GitHub PR for behavior that was ADDED but not tested — missing unit tests and missing Playwright/UI (e2e) coverage for the new code. Use when a PR adds logic or UI without the tests that would catch its regressions.

Ask for it
  • Review PR {number} for test gaps
Sample Output

What a Test Coverage report looks like.

IonWarpbotcommented 2 min ago

IonWarp Review — PR #351

3 issues| 1 P1 2 P2
#SevIssueFile
1auth/login flow has no integration testauth/login.test.ts
2Coverage dropped 78% → 74%
3Suggested 4 unit tests for new utilsutils/format.ts
auth/login.test.ts
1234
++++
test("login fails on bad password", async () => {  const res = await login({ email, password: "x" });  expect(res.status).toBe(401);});

Login flow integration test missing · Test Coverage

The login mutation has no end-to-end test. A regression here breaks auth for everyone.

Suggested fixAI fix prompt