Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

test-framework-blueprint

БесплатноБез исполняемых скриптовНе проверен

Use when designing a test automation framework from scratch or re-architecting one that grew organically. Walks seven steps from inventorying the app to…

testlandот testland★ 18 звёзд на GitHub

Об этом скилле

test-framework-blueprint

Overview

This skill is a build-an-X workflow: it walks an SDET through designing a test automation framework end to end and ends with two artifacts the team can act on:

  1. A framework blueprint: a short design doc recording the directory tree, fixture list, chosen object-model + data patterns, and CI matrix.
  2. An implementation order: which piece to build first and what each later piece waits on.

It is the connective tissue between the pattern catalogs and the scaffolder. The catalogs (object-model-patterns, test-isolation-patterns, test-data-patterns in qa-test-data) say what each pattern IS; the scaffolder emits a skeleton once decisions are made. Neither walks the decisions in order. This skill does.

When to use

  • Designing a test automation framework from scratch: the repo has no suite, or only scattered unit tests, and the team needs the full design before writing harness code.
  • Re-architecting a framework that grew organically: helpers sprawled, nobody remembers why the fixtures look the way they do, and a framework-architecture audit run came back with structural findings.
  • A new SDET joins a team with no written test architecture and needs to produce one.

Do not use this skill to:

  • Pick only the runner. That single decision has a deeper reference: the framework-choice-advisor catalog (in the qa-process plugin) - NFR scoring
    • side-by-side trade-off matrices in prose. When a repo already has an E2E convention in package.json, prefer continuing with it unless there is a reason to switch. Step 2 below summarizes the criteria and hands off.
  • Scaffold the skeleton. That is a separate harness-scaffolding step, which consumes this blueprint's decisions as its inputs.
  • Audit an existing framework against its own conventions. That is a separate framework-architecture audit.

Step 1 - Inventory the system under test

Before any tool is named, record four facts about the SUT. Every later decision keys off them.

Inventory item Questions to answer
App stack Languages, frameworks, persistence (e.g. Node + React + Postgres). Which external services does it call (payments, email, auth provider)?
Deployment shape Monolith / services / serverless? Can a full stack run locally (compose file, dev server) or only in a shared environment?
Change shape Where do PRs land - one monorepo, or per-service repos? Do most changes touch the API, the UI, or both? The layer that changes most needs the fastest feedback.
Team skills What languages do the engineers writing and maintaining tests already know? Per framework-choice-advisor Step 1, the framework-language mismatch is the #1 maintenance cost.

Decision output: a coverage-layers table stating which layers get automated coverage in this framework and which are explicitly out of scope (already covered elsewhere, or deferred). Example shape:

Layer In this framework? Rationale
Unit No Lives in each package, owned by devs
API integration Yes Most PRs touch the API
Web E2E Yes (thin) Critical paths only
Contract Deferred Single team owns both sides today

Step 2 - Choose runner + language

Two criteria dominate; everything else is tie-breaking:

  1. Team language first. A framework in a language the team does not write rots: nobody fixes flake they cannot read.
  2. One runner across layers when possible. If the same runner can execute the API tier and the E2E tier (Playwright Test runs both: its built-in request fixture is an isolated APIRequestContext instance per test, per the Playwright test-fixtures docs), the team maintains one config, one reporter, one CI job family.

For the full trade-off matrices (cross-browser, mobile, parallelization, ecosystem, hire-ability) use framework-choice-advisor; when a repo already has an E2E convention in package.json, prefer continuing with it unless there is a reason to switch.

Decision output: one runner + one language, with the rejected alternatives and the reason recorded in the blueprint (the rejection rationale is what stops the debate from reopening every quarter).

Step 3 - Directory layout + fixture architecture

Layout (worked stack: Playwright + TypeScript)

tests/
  e2e/                    # browser tests, grouped by user journey
    invoicing/
    auth/
  api/                    # request-fixture tests, grouped by resource
  fixtures/
    db.ts                 # worker-scoped database fixtures
    auth.ts               # test-scoped authenticated-session fixtures
    index.ts              # merged export the specs import
  pages/                  # object model (Step 4)
  builders/               # test-data builders (Step 5)
playwright.config.ts

Rules of thumb: group specs by user-facing domain (not by page or by d

Полный SKILL.md на GitHub

Установить test-framework-blueprint в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.tessl-plugin/plugin.jsonevals/blueprint-playwright-parallel/criteria.jsonevals/blueprint-playwright-parallel/task.mdevals/blueprint-sso-flags/criteria.jsonevals/blueprint-sso-flags/task.mdevals/blueprint-xdist-isolation/criteria.jsonevals/blueprint-xdist-isolation/task.mdevals/contractor-leaves-a-ready-made-framework-proposal/criteria.jsonevals/contractor-leaves-a-ready-made-framework-proposal/task.mdevals/design-due-thursday-with-half-the-intake-blank/criteria.jsonevals/design-due-thursday-with-half-the-intake-blank/task.mdevals/manager-wants-every-page-object-before-the-first-test/criteria.jsonevals/manager-wants-every-page-object-before-the-first-test/task.mdevals/platform-team-designs-ci-for-a-47-second-suite/criteria.jsonevals/platform-team-designs-ci-for-a-47-second-suite/task.mdevals/three-interaction-models-and-a-manager-who-bans-docs/criteria.jsonevals/three-interaction-models-and-a-manager-who-bans-docs/task.mdreferences/fixture-mechanics.mdreferences/worked-example.md

FAQ

Что делает скилл test-framework-blueprint?

Use when designing a test automation framework from scratch or re-architecting one that grew organically. Walks seven steps from inventorying the app to runner, layout, fixtures, object model, data and mocks, reporting, CI and conventions, and outputs a written blueprint with a build order.

Как установить скилл test-framework-blueprint?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл test-framework-blueprint запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить test-framework-blueprint с