
# winwright
**Tests for a Windows desktop app that Claude Code writes as data, and a verdict that never calls a check green when it did not run.**
```
claude plugin marketplace add alegauss/winwright --scope project
claude plugin install winwright@winwright --scope project
```
Windows · .NET 10 · two NuGet packages, no external dependency · Apache-2.0
[](https://www.nuget.org/packages/Winwright)
[](https://www.nuget.org/packages/Winwright.InApp)
**[alegauss.com/winwright](https://alegauss.com/winwright/)**: the short version of
the argument. This file is the long one.
- **A case is a data file, not a script.** Steps name an element, an act and what to expect, in a
`.cases.json` file. The waits, the retries and the verdict belong to the engine, so two cases never
carry two copies of the same loop.
- **It asks the control, not the desktop.** An act goes through the control's own UI Automation
pattern, so most cases need no mouse and no foreground.
- **A third verdict.** A check that could not run is neither a pass nor a fail: it is named, and a
run where everything else passed exits `2`, not `0`. A suite that lost 22 of its 374 tests and
still reported a pass is why this exists.
- **Checked before it runs.** `winwright_check` reads a case against the loader's own schema before
the file exists, so a misspelled key is refused with its address, not discovered on a red run.
- **No harness scripts.** The plugin's guard denies a hand-written script that drives the engine
directly, and names the case file and the check that replace it.
---
> **Unofficial / community project.** Not affiliated with, endorsed by, or sponsored by
> Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic.
## Install
### The plugin
Run the two commands above in the repository that drives the application. Both write into that
repository's `.claude/settings.json`, so **committing that file wires every clone**.
The MCP server and the guard are .NET processes, and the release carries them built. The first
session after an install or an update downloads them for the plugin's version from the GitHub
Release, checks the zip against its published SHA-256, and unpacks it into
`%LOCALAPPDATA%\winwright\plugin\