fledge-plugin-e2e
End-to-end test plugin for fledge โ exercises every command and reports pass/fail status.
Install
fledge plugins install CorvidLabs/fledge-plugin-e2e
Usage
fledge e2e
Runs from the root of any git repo with a GitHub remote. The test harness:
- Scaffolds a temporary project to test
templates init,spec,run, andlanescommands - Tests non-destructive commands against the current repo (github issues/prs/checks, changelog, metrics, deps)
- Gracefully skips plugin-provided commands (github, metrics, deps) when the plugin is not installed
- Skips destructive operations (work start/commit/push, release, plugins install/remove)
- Skips AI-powered commands unless
ANTHROPIC_API_KEYorOPENAI_API_KEYis set
Environment variables
| Variable | Default | Description |
|---|---|---|
FLEDGE_BIN |
fledge |
Path to the fledge binary |
E2E_TEMPLATE |
rust-cli |
Template to use for init tests |
ANTHROPIC_API_KEY |
โ | Enables AI command tests (review, ask) |
OPENAI_API_KEY |
โ | Alternative AI key |
Output
Prints a formatted report with pass/fail/skip counts and per-test timing:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ fledge e2e test report โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ Total: 44 tests | 12s elapsed โ
โ Pass: 36 | Fail: 0 | Skip: 8 โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ ... โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Exits with code 1 if any tests fail.
License
MIT