# Testing vs AI code review

Source: https://testis.dev/docs/testing-vs-code-review

> AI code review reads a change and gives an opinion; AI testing runs your app and shows proof. How they differ and how to use both.

People often ask whether an AI testing agent is the same thing as AI code review, or whether their coding assistant already covers it. They are different tools that answer different questions, and they work well together.

## The short answer

- **AI code review** reads a change (usually a pull request) and comments on the code: possible bugs, risky patterns, style. It never runs your application, so it gives an informed opinion.
- **AI testing**, which is what Testis Dev does, *runs* your application and checks what it actually does. It gives evidence: a screenshot, the response, the exact text, and a failure that reproduced.

## What each one can and cannot tell you

| Question | Code review | Testing with Testis |
| --- | --- | --- |
| Does this change look wrong? | Yes: that is its job. | Not directly. |
| Does the cart total show the right number on the live page? | It can only guess from the code. | Yes: it opens the page and reads the total. |
| Does the API return the right status for a bad request? | It can reason about the handler. | Yes: it sends the request and checks the response. |
| Will the next change break something that worked yesterday? | Only if a reviewer notices. | Yes: test what each pull request changes, in CI. |
| What does each run cost? | Model usage every time. | Model usage too: about a dollar or less for a whole-app run on a low-cost model, less when you test only what changed. |

## Why a coding assistant testing its own work is not enough

An assistant that writes code and then tests it is grading its own homework, and it spends your coding budget doing it. Testis is a separate tester, held to rules in code:

- a bug must **quote what was on the screen**; a quote that was never shown is sent back;
- a bug gets a **second look** before it is recorded, to rule out the tester's own mistake;
- a result is only taken **after the tester has seen** what its actions did;
- the same thing said differently (another wording, another format) is **never a bug**.

You can see how this works in [How Testis works](/docs/how-it-works).

## Using them together

A common setup:

1. Your coding assistant writes the change, and an AI code review comments on the pull request.
2. Testis tests what the pull request changed, in CI, and gates the merge on the bugs it finds.
3. Each bug comes with the steps and a screenshot; `testis issue <n>` files it, or the fix prompt in the report goes straight to your coding assistant.

Testis can also be a tool your coding agent calls. With `testis agent install`, Claude Code, Cursor and other [MCP](/docs/chat-and-editor#claude-code-cursor-and-other-coding-agents) clients can have the app tested and read the results themselves, so the code they write gets checked by using it.

## When you do not need Testis

If your project has no runnable application (a pure library with unit tests, for example), your existing unit tests and a code review may be all you need. Testis is for software you can run and use: web apps, HTTP APIs and command-line programs.
