Skip to content

Installation

m4bwav edited this page Nov 21, 2026 · 1 revision

Requirements

  • Claude Code.
  • Python 3.9 or later. tw.py imports only the standard library.
  • Your project's own test runner (dotnet, Vitest or Jest, pytest, Unity, a Luau runner). testwright starts it; it does not ship it.
  • Optional: diff-cover. When it is on the PATH, tw.py changed hands the work to it.

Add the plugin

The repository holds a plugin manifest (.claude-plugin/plugin.json) but no marketplace file, so it cannot be added as a marketplace by itself. Either:

  1. Clone it into a folder that is your local marketplace, list it in that marketplace's marketplace.json, and install it from there; or
  2. Copy skills/testwright, scripts/ and references/ into a plugin of your own. The skill links to ../../references/*.md and runs scripts/tw.py from the plugin root, so keep that layout.
git clone https://github.com/m4bwav/testwright.git

Check it

python scripts/tw.py -h

The help lists the commands detect, parse, run, slow, changed, lint and plan.

Clone this wiki locally