Update E2e Tests banner
speakeasy-api speakeasy-api

Update E2e Tests

Development community

Description

--- name: update-e2e-tests description: Update end-to-end tests after CLI API changes. Use when public commands, flags, or output formats have been modified. --- # Update E2E Tests After modifying the CLI's public API: 1. Add tests to `./test-e2e.sh` following existing patterns 2. Use assertions to verify output: ```bash OUTPUT=$(granary <command> --json) [[ -n "$OUTPUT" ]] || { echo "FAIL: Expected output"; exit 1; } echo "$OUTPUT" | grep -q "expected" || { echo "FAIL: Missing ex

Installation

Installs to ~/.claude/skills/speakeasy-api-granary-update-e2e-tests/SKILL.md

Terminal
mkdir -p ~/.claude/skills/speakeasy-api-granary-update-e2e-tests && curl -fsSL https://raw.githubusercontent.com/speakeasy-api/granary/HEAD/.claude/skills/update-e2e-tests.md -o ~/.claude/skills/speakeasy-api-granary-update-e2e-tests/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository