ATDD Four-Layer Acceptance Testing

0•

Designs, reviews, and refactors end-to-end and acceptance tests using Dave Farley's four-layer architecture model.

The ATDD skill guides the creation, review, and refactoring of robust acceptance and end-to-end test suites using the proven four-layer testing model (Executable Spec, DSL, Protocol Driver, and System Under Test). It prevents test flakiness, eliminates brittle implementation coupling, and enforces strict isolation through data aliasing and runtime protocol drivers (HTTP, CLI, UI). Ideal for transforming user stories or Gherkin scenarios into maintainable, deterministic acceptance suites that survive refactors without breaking.

Características Principales

01Enforces strict test isolation via dynamic data aliasing without per-scenario cleanup overhead
02Enables protocol-agnostic testing to run identical specs across HTTP, CLI, and UI drivers
030 GitHub stars
04Audits existing test suites to detect leaked assertions, selector coupling, and flakiness
05Implements the four-layer test architecture separating business specs, DSL, drivers, and SUT
06Provides a three-phase gate workflow ensuring review checkpoints across spec, driver, and refactor stages

Casos de Uso

01Translating Gherkin scenarios or business acceptance criteria into decoupled executable specs
02Designing protocol-agnostic test DSLs and drivers for API, Web, or CLI applications
03Refactoring brittle, flaky, or order-dependent E2E suites into deterministic test suites