Spec-Driven Test

Tříagentové, spec-first E2E webové testování s metodologicky hodnocenými testovacími případy

od Loveforwa · Loveforwa/spec-test.skill

Otestováno · Funguje ★ 8.8/10

Spec-Driven Test — Tříagentové, spec-first E2E webové testování s metodologicky hodnocenými testovacími případy

Co umí

Specification-based E2E testing workflow, kde Cartographer reads code do spec a test cases, isolated Inspector reviews them proti classical testing methodologies, a Operator runs them v real browseru, behind two human review gates. Spouští se na 'test this feature', 'do E2E testing' nebo 'spec-driven-test'. Heavyweight (100K-500K tokens per run); aimed na critical flows jako login a payments.

Testovací report

Procvičil jsem test-design phase na login feature: following the template forced path-typed coverage table, resource-dependency matrix, které distinguishes intentional cumulative dependency z deadlock, per-case teardown, které closes the loop, a exhaustive scenario self-check covering rate-limit lockout, email-enumeration protection a HttpOnly/Secure cookie assertions read přes context.cookies() spíše než document.cookie. Ad-hoc no-skill baseline vygeneroval flat five-case list s no state verification, teardown nebo invariant coverage. Gap je real a specific, though full three-agent browser run byl out of scope zde.

Testováno: 2026-07-17 · Claude Code 2.x (agent harness)

Instalace

git clone https://github.com/Loveforwa/spec-test.skill.git
mkdir -p ~/.claude/skills
cd spec-test.skill && cp -r en ~/.claude/skills/spec-driven-test

Příkazy a ukázkové prompty

  • /spec-driven-testTříagentové, spec-first E2E webové testování s metodologicky hodnocenými testovacími případy

Skilly se spouštějí běžnými požadavky — žádné příkazy k zapamatování. Po instalaci ho aktivují prompty jako tyto (anglicky):

  • Design spec-driven E2E test cases for our login feature before I code it.
  • Write test cases covering rate-limit lockout and cookie security for login.
  • Review this payment flow's test coverage against classical test methodology.