# Plan tests for a change

The test-plan skill lists what reaches a change, and the changed code no test reaches.

> Web page: https://enola.tech/docs/skill-test-plan
> All pages: https://enola.tech/llms.txt

## What a test plan gives you

`enola-test-plan` turns a change into a plan someone else can carry out, built from the code paths that reach the change. It does not run tests.

1. **Tests to run**, nearest to the change first.
2. **Entry points to exercise**: routes, commands, screens, or a library's public API.
3. **Changed code no test reaches**, with a suggested test for each.
4. **Code with a history of fixes.**
5. **What the plan does not cover.**

## Plan the tests for a branch

Ask your agent:

```
/enola-test-plan What should be tested for this change? Give me a plan I can hand over to QA.
```

It needs the change as a diff or a branch, and a snapshot of the changed code.

## Include the apps that call it

A backend change often lands in a web or mobile app in another repository. Name those repositories, and the plan lists the pages and screens that call a changed endpoint:

Ask your agent:

```
/enola-test-plan What should be tested for this change? Our web app and the Android and iOS apps are in ../web, ../android and ../ios, include them.
```

For one login endpoint, this found the web login page and the Android and iOS login services. It also says how many client calls could not be matched to a route, so QA knows when the list may be incomplete. [Multi-repo](https://enola.tech/docs/multi-repo.md) explains the matching, and [the full example](https://enola.tech/blog/shift-left-testing-ai-coding-agents) covers four repositories.

## How to read "no test reaches it"

It means no test reaches the code **by name**. A test that drives code through a browser, a router or a subprocess is invisible to the graph, so the plan asks for a check before anyone calls that code untested.
