bmad-method-test-architecture-enterprise 0.1.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/CODE_OF_CONDUCT.md +128 -0
- package/.github/FUNDING.yaml +15 -0
- package/.github/ISSUE_TEMPLATE/config.yaml +11 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +70 -0
- package/.github/ISSUE_TEMPLATE/issue.md +61 -0
- package/.github/workflows/docs.yaml +66 -0
- package/.github/workflows/manual-release.yaml +195 -0
- package/.github/workflows/quality.yaml +114 -0
- package/.husky/pre-commit +20 -0
- package/.markdownlint-cli2.yaml +36 -0
- package/.nvmrc +1 -0
- package/.prettierignore +9 -0
- package/.vscode/settings.json +47 -0
- package/CHANGELOG.md +217 -0
- package/CONTRIBUTING.md +268 -0
- package/LICENSE +26 -0
- package/README.md +300 -0
- package/SECURITY.md +85 -0
- package/TEA-MODULE-MIGRATION-PLAN.md +3788 -0
- package/docs/404.md +20 -0
- package/docs/MIGRATION.md +447 -0
- package/docs/explanation/engagement-models.md +767 -0
- package/docs/explanation/fixture-architecture.md +484 -0
- package/docs/explanation/knowledge-base-system.md +599 -0
- package/docs/explanation/network-first-patterns.md +884 -0
- package/docs/explanation/risk-based-testing.md +628 -0
- package/docs/explanation/step-file-architecture.md +609 -0
- package/docs/explanation/subprocess-architecture.md +578 -0
- package/docs/explanation/subprocess-implementation-status.md +327 -0
- package/docs/explanation/tea-overview.md +425 -0
- package/docs/explanation/test-quality-standards.md +965 -0
- package/docs/explanation/testing-as-engineering.md +111 -0
- package/docs/glossary/index.md +160 -0
- package/docs/how-to/brownfield/use-tea-for-enterprise.md +571 -0
- package/docs/how-to/brownfield/use-tea-with-existing-tests.md +631 -0
- package/docs/how-to/customization/enable-tea-mcp-enhancements.md +455 -0
- package/docs/how-to/customization/integrate-playwright-utils.md +846 -0
- package/docs/how-to/workflows/run-atdd.md +460 -0
- package/docs/how-to/workflows/run-automate.md +690 -0
- package/docs/how-to/workflows/run-nfr-assess.md +731 -0
- package/docs/how-to/workflows/run-test-design.md +144 -0
- package/docs/how-to/workflows/run-test-review.md +638 -0
- package/docs/how-to/workflows/run-trace.md +951 -0
- package/docs/how-to/workflows/setup-ci.md +761 -0
- package/docs/how-to/workflows/setup-test-framework.md +99 -0
- package/docs/index.md +122 -0
- package/docs/reference/commands.md +300 -0
- package/docs/reference/configuration.md +729 -0
- package/docs/reference/knowledge-base.md +365 -0
- package/docs/reference/troubleshooting.md +717 -0
- package/docs/tutorials/tea-lite-quickstart.md +465 -0
- package/eslint.config.mjs +152 -0
- package/package.json +117 -0
- package/prettier.config.mjs +32 -0
- package/release_notes.md +28 -0
- package/src/_module-installer/installer.js +92 -0
- package/src/agents/tea.agent.yaml +63 -0
- package/src/module-help.csv +9 -0
- package/src/module.yaml +91 -0
- package/src/testarch/knowledge/adr-quality-readiness-checklist.md +377 -0
- package/src/testarch/knowledge/api-request.md +442 -0
- package/src/testarch/knowledge/api-testing-patterns.md +851 -0
- package/src/testarch/knowledge/auth-session.md +548 -0
- package/src/testarch/knowledge/burn-in.md +273 -0
- package/src/testarch/knowledge/ci-burn-in.md +675 -0
- package/src/testarch/knowledge/component-tdd.md +486 -0
- package/src/testarch/knowledge/contract-testing.md +957 -0
- package/src/testarch/knowledge/data-factories.md +500 -0
- package/src/testarch/knowledge/email-auth.md +721 -0
- package/src/testarch/knowledge/error-handling.md +725 -0
- package/src/testarch/knowledge/feature-flags.md +750 -0
- package/src/testarch/knowledge/file-utils.md +456 -0
- package/src/testarch/knowledge/fixture-architecture.md +401 -0
- package/src/testarch/knowledge/fixtures-composition.md +382 -0
- package/src/testarch/knowledge/intercept-network-call.md +426 -0
- package/src/testarch/knowledge/log.md +426 -0
- package/src/testarch/knowledge/network-error-monitor.md +401 -0
- package/src/testarch/knowledge/network-first.md +486 -0
- package/src/testarch/knowledge/network-recorder.md +527 -0
- package/src/testarch/knowledge/nfr-criteria.md +670 -0
- package/src/testarch/knowledge/overview.md +286 -0
- package/src/testarch/knowledge/playwright-config.md +730 -0
- package/src/testarch/knowledge/probability-impact.md +601 -0
- package/src/testarch/knowledge/recurse.md +421 -0
- package/src/testarch/knowledge/risk-governance.md +615 -0
- package/src/testarch/knowledge/selective-testing.md +732 -0
- package/src/testarch/knowledge/selector-resilience.md +527 -0
- package/src/testarch/knowledge/test-healing-patterns.md +644 -0
- package/src/testarch/knowledge/test-levels-framework.md +473 -0
- package/src/testarch/knowledge/test-priorities-matrix.md +373 -0
- package/src/testarch/knowledge/test-quality.md +664 -0
- package/src/testarch/knowledge/timing-debugging.md +372 -0
- package/src/testarch/knowledge/visual-debugging.md +524 -0
- package/src/testarch/tea-index.csv +35 -0
- package/src/workflows/testarch/README.md +74 -0
- package/src/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
- package/src/workflows/testarch/atdd/checklist.md +374 -0
- package/src/workflows/testarch/atdd/instructions.md +38 -0
- package/src/workflows/testarch/atdd/steps-c/step-01-preflight-and-context.md +110 -0
- package/src/workflows/testarch/atdd/steps-c/step-02-generation-mode.md +79 -0
- package/src/workflows/testarch/atdd/steps-c/step-03-test-strategy.md +76 -0
- package/src/workflows/testarch/atdd/steps-c/step-04-generate-tests.md +228 -0
- package/src/workflows/testarch/atdd/steps-c/step-04a-subprocess-api-failing.md +215 -0
- package/src/workflows/testarch/atdd/steps-c/step-04b-subprocess-e2e-failing.md +212 -0
- package/src/workflows/testarch/atdd/steps-c/step-04c-aggregate.md +329 -0
- package/src/workflows/testarch/atdd/steps-c/step-05-validate-and-complete.md +68 -0
- package/src/workflows/testarch/atdd/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/atdd/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/atdd/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/atdd/validation-report-20260127-095021.md +73 -0
- package/src/workflows/testarch/atdd/validation-report-20260127-102401.md +116 -0
- package/src/workflows/testarch/atdd/workflow-plan.md +21 -0
- package/src/workflows/testarch/atdd/workflow.md +39 -0
- package/src/workflows/testarch/atdd/workflow.yaml +47 -0
- package/src/workflows/testarch/automate/checklist.md +582 -0
- package/src/workflows/testarch/automate/instructions.md +43 -0
- package/src/workflows/testarch/automate/steps-c/step-01-preflight-and-context.md +127 -0
- package/src/workflows/testarch/automate/steps-c/step-02-identify-targets.md +95 -0
- package/src/workflows/testarch/automate/steps-c/step-03-generate-tests.md +199 -0
- package/src/workflows/testarch/automate/steps-c/step-03a-subprocess-api.md +183 -0
- package/src/workflows/testarch/automate/steps-c/step-03b-subprocess-e2e.md +181 -0
- package/src/workflows/testarch/automate/steps-c/step-03c-aggregate.md +300 -0
- package/src/workflows/testarch/automate/steps-c/step-04-validate-and-summarize.md +69 -0
- package/src/workflows/testarch/automate/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/automate/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/automate/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/automate/validation-report-20260127-095021.md +72 -0
- package/src/workflows/testarch/automate/validation-report-20260127-102401.md +114 -0
- package/src/workflows/testarch/automate/workflow-plan.md +20 -0
- package/src/workflows/testarch/automate/workflow.md +39 -0
- package/src/workflows/testarch/automate/workflow.yaml +54 -0
- package/src/workflows/testarch/ci/checklist.md +247 -0
- package/src/workflows/testarch/ci/github-actions-template.yaml +198 -0
- package/src/workflows/testarch/ci/gitlab-ci-template.yaml +149 -0
- package/src/workflows/testarch/ci/instructions.md +38 -0
- package/src/workflows/testarch/ci/steps-c/step-01-preflight.md +92 -0
- package/src/workflows/testarch/ci/steps-c/step-02-generate-pipeline.md +82 -0
- package/src/workflows/testarch/ci/steps-c/step-03-configure-quality-gates.md +75 -0
- package/src/workflows/testarch/ci/steps-c/step-04-validate-and-summary.md +67 -0
- package/src/workflows/testarch/ci/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/ci/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/ci/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/ci/validation-report-20260127-095021.md +72 -0
- package/src/workflows/testarch/ci/validation-report-20260127-102401.md +114 -0
- package/src/workflows/testarch/ci/workflow-plan.md +20 -0
- package/src/workflows/testarch/ci/workflow.md +39 -0
- package/src/workflows/testarch/ci/workflow.yaml +47 -0
- package/src/workflows/testarch/framework/checklist.md +320 -0
- package/src/workflows/testarch/framework/instructions.md +38 -0
- package/src/workflows/testarch/framework/steps-c/step-01-preflight.md +75 -0
- package/src/workflows/testarch/framework/steps-c/step-02-select-framework.md +73 -0
- package/src/workflows/testarch/framework/steps-c/step-03-scaffold-framework.md +120 -0
- package/src/workflows/testarch/framework/steps-c/step-04-docs-and-scripts.md +70 -0
- package/src/workflows/testarch/framework/steps-c/step-05-validate-and-summary.md +68 -0
- package/src/workflows/testarch/framework/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/framework/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/framework/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/framework/validation-report-20260127-095021.md +73 -0
- package/src/workflows/testarch/framework/validation-report-20260127-102401.md +116 -0
- package/src/workflows/testarch/framework/workflow-plan.md +22 -0
- package/src/workflows/testarch/framework/workflow.md +39 -0
- package/src/workflows/testarch/framework/workflow.yaml +49 -0
- package/src/workflows/testarch/nfr-assess/checklist.md +407 -0
- package/src/workflows/testarch/nfr-assess/instructions.md +36 -0
- package/src/workflows/testarch/nfr-assess/nfr-report-template.md +462 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-01-load-context.md +85 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-02-define-thresholds.md +82 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-03-gather-evidence.md +64 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04-evaluate-and-score.md +140 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04a-subprocess-security.md +138 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04b-subprocess-performance.md +84 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04c-subprocess-reliability.md +85 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04d-subprocess-scalability.md +88 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04e-aggregate-nfr.md +219 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-05-generate-report.md +71 -0
- package/src/workflows/testarch/nfr-assess/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/nfr-assess/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/nfr-assess/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/nfr-assess/validation-report-20260127-095021.md +73 -0
- package/src/workflows/testarch/nfr-assess/validation-report-20260127-102401.md +116 -0
- package/src/workflows/testarch/nfr-assess/workflow-plan.md +19 -0
- package/src/workflows/testarch/nfr-assess/workflow.md +39 -0
- package/src/workflows/testarch/nfr-assess/workflow.yaml +49 -0
- package/src/workflows/testarch/test-design/checklist.md +410 -0
- package/src/workflows/testarch/test-design/instructions.md +52 -0
- package/src/workflows/testarch/test-design/steps-c/step-01-detect-mode.md +109 -0
- package/src/workflows/testarch/test-design/steps-c/step-02-load-context.md +127 -0
- package/src/workflows/testarch/test-design/steps-c/step-03-risk-and-testability.md +85 -0
- package/src/workflows/testarch/test-design/steps-c/step-04-coverage-plan.md +98 -0
- package/src/workflows/testarch/test-design/steps-c/step-05-generate-output.md +97 -0
- package/src/workflows/testarch/test-design/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/test-design/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/test-design/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/test-design/test-design-architecture-template.md +222 -0
- package/src/workflows/testarch/test-design/test-design-qa-template.md +296 -0
- package/src/workflows/testarch/test-design/test-design-template.md +294 -0
- package/src/workflows/testarch/test-design/validation-report-20260127-095021.md +73 -0
- package/src/workflows/testarch/test-design/validation-report-20260127-102401.md +116 -0
- package/src/workflows/testarch/test-design/workflow-plan.md +22 -0
- package/src/workflows/testarch/test-design/workflow.md +39 -0
- package/src/workflows/testarch/test-design/workflow.yaml +71 -0
- package/src/workflows/testarch/test-review/checklist.md +472 -0
- package/src/workflows/testarch/test-review/instructions.md +36 -0
- package/src/workflows/testarch/test-review/steps-c/step-01-load-context.md +101 -0
- package/src/workflows/testarch/test-review/steps-c/step-02-discover-tests.md +69 -0
- package/src/workflows/testarch/test-review/steps-c/step-03-quality-evaluation.md +184 -0
- package/src/workflows/testarch/test-review/steps-c/step-03a-subprocess-determinism.md +214 -0
- package/src/workflows/testarch/test-review/steps-c/step-03b-subprocess-isolation.md +125 -0
- package/src/workflows/testarch/test-review/steps-c/step-03c-subprocess-maintainability.md +102 -0
- package/src/workflows/testarch/test-review/steps-c/step-03d-subprocess-coverage.md +111 -0
- package/src/workflows/testarch/test-review/steps-c/step-03e-subprocess-performance.md +117 -0
- package/src/workflows/testarch/test-review/steps-c/step-03f-aggregate-scores.md +246 -0
- package/src/workflows/testarch/test-review/steps-c/step-04-generate-report.md +72 -0
- package/src/workflows/testarch/test-review/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/test-review/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/test-review/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/test-review/test-review-template.md +390 -0
- package/src/workflows/testarch/test-review/validation-report-20260127-095021.md +72 -0
- package/src/workflows/testarch/test-review/validation-report-20260127-102401.md +114 -0
- package/src/workflows/testarch/test-review/workflow-plan.md +18 -0
- package/src/workflows/testarch/test-review/workflow.md +39 -0
- package/src/workflows/testarch/test-review/workflow.yaml +48 -0
- package/src/workflows/testarch/trace/checklist.md +642 -0
- package/src/workflows/testarch/trace/instructions.md +36 -0
- package/src/workflows/testarch/trace/steps-c/step-01-load-context.md +80 -0
- package/src/workflows/testarch/trace/steps-c/step-02-discover-tests.md +69 -0
- package/src/workflows/testarch/trace/steps-c/step-03-map-criteria.md +65 -0
- package/src/workflows/testarch/trace/steps-c/step-04-analyze-gaps.md +244 -0
- package/src/workflows/testarch/trace/steps-c/step-05-gate-decision.md +232 -0
- package/src/workflows/testarch/trace/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/trace/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/trace/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/trace/trace-template.md +675 -0
- package/src/workflows/testarch/trace/validation-report-20260127-095021.md +73 -0
- package/src/workflows/testarch/trace/validation-report-20260127-102401.md +116 -0
- package/src/workflows/testarch/trace/workflow-plan.md +21 -0
- package/src/workflows/testarch/trace/workflow.md +39 -0
- package/src/workflows/testarch/trace/workflow.yaml +57 -0
- package/test/README.md +23 -0
- package/test/fixtures/agent-schema/invalid/critical-actions/actions-as-string.agent.yaml +27 -0
- package/test/fixtures/agent-schema/invalid/critical-actions/empty-string-in-actions.agent.yaml +30 -0
- package/test/fixtures/agent-schema/invalid/menu/empty-menu.agent.yaml +22 -0
- package/test/fixtures/agent-schema/invalid/menu/missing-menu.agent.yaml +20 -0
- package/test/fixtures/agent-schema/invalid/menu-commands/empty-command-target.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-commands/no-command-target.agent.yaml +24 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/camel-case.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/compound-invalid-format.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/compound-mismatched-kebab.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/duplicate-triggers.agent.yaml +31 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/empty-trigger.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/leading-asterisk.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/snake-case.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/trigger-with-spaces.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/metadata/empty-module-string.agent.yaml +26 -0
- package/test/fixtures/agent-schema/invalid/metadata/empty-name.agent.yaml +24 -0
- package/test/fixtures/agent-schema/invalid/metadata/extra-metadata-fields.agent.yaml +27 -0
- package/test/fixtures/agent-schema/invalid/metadata/missing-id.agent.yaml +23 -0
- package/test/fixtures/agent-schema/invalid/persona/empty-principles-array.agent.yaml +24 -0
- package/test/fixtures/agent-schema/invalid/persona/empty-string-in-principles.agent.yaml +27 -0
- package/test/fixtures/agent-schema/invalid/persona/extra-persona-fields.agent.yaml +27 -0
- package/test/fixtures/agent-schema/invalid/persona/missing-role.agent.yaml +24 -0
- package/test/fixtures/agent-schema/invalid/prompts/empty-content.agent.yaml +29 -0
- package/test/fixtures/agent-schema/invalid/prompts/extra-prompt-fields.agent.yaml +31 -0
- package/test/fixtures/agent-schema/invalid/prompts/missing-content.agent.yaml +28 -0
- package/test/fixtures/agent-schema/invalid/prompts/missing-id.agent.yaml +28 -0
- package/test/fixtures/agent-schema/invalid/top-level/empty-file.agent.yaml +5 -0
- package/test/fixtures/agent-schema/invalid/top-level/extra-top-level-keys.agent.yaml +28 -0
- package/test/fixtures/agent-schema/invalid/top-level/missing-agent-key.agent.yaml +11 -0
- package/test/fixtures/agent-schema/invalid/yaml-errors/invalid-indentation.agent.yaml +19 -0
- package/test/fixtures/agent-schema/invalid/yaml-errors/malformed-yaml.agent.yaml +18 -0
- package/test/fixtures/agent-schema/valid/critical-actions/empty-critical-actions.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/critical-actions/no-critical-actions.agent.yaml +22 -0
- package/test/fixtures/agent-schema/valid/critical-actions/valid-critical-actions.agent.yaml +27 -0
- package/test/fixtures/agent-schema/valid/menu/multiple-menu-items.agent.yaml +31 -0
- package/test/fixtures/agent-schema/valid/menu/single-menu-item.agent.yaml +22 -0
- package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +38 -0
- package/test/fixtures/agent-schema/valid/menu-commands/multiple-commands.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/menu-triggers/compound-triggers.agent.yaml +31 -0
- package/test/fixtures/agent-schema/valid/menu-triggers/kebab-case-triggers.agent.yaml +34 -0
- package/test/fixtures/agent-schema/valid/metadata/core-agent-with-module.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/metadata/empty-module-name-in-path.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/metadata/malformed-path-treated-as-core.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/metadata/module-agent-correct.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/metadata/module-agent-missing-module.agent.yaml +23 -0
- package/test/fixtures/agent-schema/valid/metadata/wrong-module-value.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/persona/complete-persona.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/prompts/empty-prompts.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/prompts/no-prompts.agent.yaml +22 -0
- package/test/fixtures/agent-schema/valid/prompts/valid-prompts-minimal.agent.yaml +28 -0
- package/test/fixtures/agent-schema/valid/prompts/valid-prompts-with-description.agent.yaml +30 -0
- package/test/fixtures/agent-schema/valid/top-level/minimal-core-agent.agent.yaml +24 -0
- package/test/schema/agent.js +491 -0
- package/test/test-agent-schema.js +387 -0
- package/test/test-installation-components.js +183 -0
- package/test/test-knowledge-base.js +199 -0
- package/test/unit-test-schema.js +133 -0
- package/test/validate-agent-schema.js +110 -0
- package/tools/build-docs.js +575 -0
- package/tools/fix-doc-links.js +288 -0
- package/tools/schema/agent.js +491 -0
- package/tools/validate-agent-schema.js +111 -0
- package/tools/validate-doc-links.js +371 -0
- package/tools/verify-paths.js +100 -0
- package/website/README.md +137 -0
- package/website/astro.config.mjs +158 -0
- package/website/package-lock.json +6856 -0
- package/website/package.json +23 -0
- package/website/public/favicon.ico +0 -0
- package/website/public/img/tea-logo.svg +7 -0
- package/website/public/robots.txt +37 -0
- package/website/src/components/Banner.astro +59 -0
- package/website/src/components/Header.astro +121 -0
- package/website/src/components/MobileMenuFooter.astro +53 -0
- package/website/src/content/config.ts +6 -0
- package/website/src/lib/site-url.js +25 -0
- package/website/src/pages/404.astro +11 -0
- package/website/src/rehype-base-paths.js +89 -0
- package/website/src/rehype-markdown-links.js +117 -0
- package/website/src/styles/custom.css +499 -0
- package/website/tsconfig.json +9 -0
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
# Test Design: Epic {epic_num} - {epic_title}
|
|
2
|
+
|
|
3
|
+
**Date:** {date}
|
|
4
|
+
**Author:** {user_name}
|
|
5
|
+
**Status:** Draft / Approved
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Executive Summary
|
|
10
|
+
|
|
11
|
+
**Scope:** {design_level} test design for Epic {epic_num}
|
|
12
|
+
|
|
13
|
+
**Risk Summary:**
|
|
14
|
+
|
|
15
|
+
- Total risks identified: {total_risks}
|
|
16
|
+
- High-priority risks (≥6): {high_priority_count}
|
|
17
|
+
- Critical categories: {top_categories}
|
|
18
|
+
|
|
19
|
+
**Coverage Summary:**
|
|
20
|
+
|
|
21
|
+
- P0 scenarios: {p0_count} ({p0_hours} hours)
|
|
22
|
+
- P1 scenarios: {p1_count} ({p1_hours} hours)
|
|
23
|
+
- P2/P3 scenarios: {p2p3_count} ({p2p3_hours} hours)
|
|
24
|
+
- **Total effort**: {total_hours} hours (~{total_days} days)
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Risk Assessment
|
|
29
|
+
|
|
30
|
+
### High-Priority Risks (Score ≥6)
|
|
31
|
+
|
|
32
|
+
| Risk ID | Category | Description | Probability | Impact | Score | Mitigation | Owner | Timeline |
|
|
33
|
+
| ------- | -------- | ------------- | ----------- | ------ | ----- | ------------ | ------- | -------- |
|
|
34
|
+
| R-001 | SEC | {description} | 2 | 3 | 6 | {mitigation} | {owner} | {date} |
|
|
35
|
+
| R-002 | PERF | {description} | 3 | 2 | 6 | {mitigation} | {owner} | {date} |
|
|
36
|
+
|
|
37
|
+
### Medium-Priority Risks (Score 3-4)
|
|
38
|
+
|
|
39
|
+
| Risk ID | Category | Description | Probability | Impact | Score | Mitigation | Owner |
|
|
40
|
+
| ------- | -------- | ------------- | ----------- | ------ | ----- | ------------ | ------- |
|
|
41
|
+
| R-003 | TECH | {description} | 2 | 2 | 4 | {mitigation} | {owner} |
|
|
42
|
+
| R-004 | DATA | {description} | 1 | 3 | 3 | {mitigation} | {owner} |
|
|
43
|
+
|
|
44
|
+
### Low-Priority Risks (Score 1-2)
|
|
45
|
+
|
|
46
|
+
| Risk ID | Category | Description | Probability | Impact | Score | Action |
|
|
47
|
+
| ------- | -------- | ------------- | ----------- | ------ | ----- | ------- |
|
|
48
|
+
| R-005 | OPS | {description} | 1 | 2 | 2 | Monitor |
|
|
49
|
+
| R-006 | BUS | {description} | 1 | 1 | 1 | Monitor |
|
|
50
|
+
|
|
51
|
+
### Risk Category Legend
|
|
52
|
+
|
|
53
|
+
- **TECH**: Technical/Architecture (flaws, integration, scalability)
|
|
54
|
+
- **SEC**: Security (access controls, auth, data exposure)
|
|
55
|
+
- **PERF**: Performance (SLA violations, degradation, resource limits)
|
|
56
|
+
- **DATA**: Data Integrity (loss, corruption, inconsistency)
|
|
57
|
+
- **BUS**: Business Impact (UX harm, logic errors, revenue)
|
|
58
|
+
- **OPS**: Operations (deployment, config, monitoring)
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Test Coverage Plan
|
|
63
|
+
|
|
64
|
+
### P0 (Critical) - Run on every commit
|
|
65
|
+
|
|
66
|
+
**Criteria**: Blocks core journey + High risk (≥6) + No workaround
|
|
67
|
+
|
|
68
|
+
| Requirement | Test Level | Risk Link | Test Count | Owner | Notes |
|
|
69
|
+
| ------------- | ---------- | --------- | ---------- | ----- | ------- |
|
|
70
|
+
| {requirement} | E2E | R-001 | 3 | QA | {notes} |
|
|
71
|
+
| {requirement} | API | R-002 | 5 | QA | {notes} |
|
|
72
|
+
|
|
73
|
+
**Total P0**: {p0_count} tests, {p0_hours} hours
|
|
74
|
+
|
|
75
|
+
### P1 (High) - Run on PR to main
|
|
76
|
+
|
|
77
|
+
**Criteria**: Important features + Medium risk (3-4) + Common workflows
|
|
78
|
+
|
|
79
|
+
| Requirement | Test Level | Risk Link | Test Count | Owner | Notes |
|
|
80
|
+
| ------------- | ---------- | --------- | ---------- | ----- | ------- |
|
|
81
|
+
| {requirement} | API | R-003 | 4 | QA | {notes} |
|
|
82
|
+
| {requirement} | Component | - | 6 | DEV | {notes} |
|
|
83
|
+
|
|
84
|
+
**Total P1**: {p1_count} tests, {p1_hours} hours
|
|
85
|
+
|
|
86
|
+
### P2 (Medium) - Run nightly/weekly
|
|
87
|
+
|
|
88
|
+
**Criteria**: Secondary features + Low risk (1-2) + Edge cases
|
|
89
|
+
|
|
90
|
+
| Requirement | Test Level | Risk Link | Test Count | Owner | Notes |
|
|
91
|
+
| ------------- | ---------- | --------- | ---------- | ----- | ------- |
|
|
92
|
+
| {requirement} | API | R-004 | 8 | QA | {notes} |
|
|
93
|
+
| {requirement} | Unit | - | 15 | DEV | {notes} |
|
|
94
|
+
|
|
95
|
+
**Total P2**: {p2_count} tests, {p2_hours} hours
|
|
96
|
+
|
|
97
|
+
### P3 (Low) - Run on-demand
|
|
98
|
+
|
|
99
|
+
**Criteria**: Nice-to-have + Exploratory + Performance benchmarks
|
|
100
|
+
|
|
101
|
+
| Requirement | Test Level | Test Count | Owner | Notes |
|
|
102
|
+
| ------------- | ---------- | ---------- | ----- | ------- |
|
|
103
|
+
| {requirement} | E2E | 2 | QA | {notes} |
|
|
104
|
+
| {requirement} | Unit | 8 | DEV | {notes} |
|
|
105
|
+
|
|
106
|
+
**Total P3**: {p3_count} tests, {p3_hours} hours
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Execution Order
|
|
111
|
+
|
|
112
|
+
### Smoke Tests (<5 min)
|
|
113
|
+
|
|
114
|
+
**Purpose**: Fast feedback, catch build-breaking issues
|
|
115
|
+
|
|
116
|
+
- [ ] {scenario} (30s)
|
|
117
|
+
- [ ] {scenario} (45s)
|
|
118
|
+
- [ ] {scenario} (1min)
|
|
119
|
+
|
|
120
|
+
**Total**: {smoke_count} scenarios
|
|
121
|
+
|
|
122
|
+
### P0 Tests (<10 min)
|
|
123
|
+
|
|
124
|
+
**Purpose**: Critical path validation
|
|
125
|
+
|
|
126
|
+
- [ ] {scenario} (E2E)
|
|
127
|
+
- [ ] {scenario} (API)
|
|
128
|
+
- [ ] {scenario} (API)
|
|
129
|
+
|
|
130
|
+
**Total**: {p0_count} scenarios
|
|
131
|
+
|
|
132
|
+
### P1 Tests (<30 min)
|
|
133
|
+
|
|
134
|
+
**Purpose**: Important feature coverage
|
|
135
|
+
|
|
136
|
+
- [ ] {scenario} (API)
|
|
137
|
+
- [ ] {scenario} (Component)
|
|
138
|
+
|
|
139
|
+
**Total**: {p1_count} scenarios
|
|
140
|
+
|
|
141
|
+
### P2/P3 Tests (<60 min)
|
|
142
|
+
|
|
143
|
+
**Purpose**: Full regression coverage
|
|
144
|
+
|
|
145
|
+
- [ ] {scenario} (Unit)
|
|
146
|
+
- [ ] {scenario} (API)
|
|
147
|
+
|
|
148
|
+
**Total**: {p2p3_count} scenarios
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## Resource Estimates
|
|
153
|
+
|
|
154
|
+
### Test Development Effort
|
|
155
|
+
|
|
156
|
+
| Priority | Count | Hours/Test | Total Hours | Notes |
|
|
157
|
+
| --------- | ----------------- | ---------- | ----------------- | ----------------------- |
|
|
158
|
+
| P0 | {p0_count} | 2.0 | {p0_hours} | Complex setup, security |
|
|
159
|
+
| P1 | {p1_count} | 1.0 | {p1_hours} | Standard coverage |
|
|
160
|
+
| P2 | {p2_count} | 0.5 | {p2_hours} | Simple scenarios |
|
|
161
|
+
| P3 | {p3_count} | 0.25 | {p3_hours} | Exploratory |
|
|
162
|
+
| **Total** | **{total_count}** | **-** | **{total_hours}** | **~{total_days} days** |
|
|
163
|
+
|
|
164
|
+
### Prerequisites
|
|
165
|
+
|
|
166
|
+
**Test Data:**
|
|
167
|
+
|
|
168
|
+
- {factory_name} factory (faker-based, auto-cleanup)
|
|
169
|
+
- {fixture_name} fixture (setup/teardown)
|
|
170
|
+
|
|
171
|
+
**Tooling:**
|
|
172
|
+
|
|
173
|
+
- {tool} for {purpose}
|
|
174
|
+
- {tool} for {purpose}
|
|
175
|
+
|
|
176
|
+
**Environment:**
|
|
177
|
+
|
|
178
|
+
- {env_requirement}
|
|
179
|
+
- {env_requirement}
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## Quality Gate Criteria
|
|
184
|
+
|
|
185
|
+
### Pass/Fail Thresholds
|
|
186
|
+
|
|
187
|
+
- **P0 pass rate**: 100% (no exceptions)
|
|
188
|
+
- **P1 pass rate**: ≥95% (waivers required for failures)
|
|
189
|
+
- **P2/P3 pass rate**: ≥90% (informational)
|
|
190
|
+
- **High-risk mitigations**: 100% complete or approved waivers
|
|
191
|
+
|
|
192
|
+
### Coverage Targets
|
|
193
|
+
|
|
194
|
+
- **Critical paths**: ≥80%
|
|
195
|
+
- **Security scenarios**: 100%
|
|
196
|
+
- **Business logic**: ≥70%
|
|
197
|
+
- **Edge cases**: ≥50%
|
|
198
|
+
|
|
199
|
+
### Non-Negotiable Requirements
|
|
200
|
+
|
|
201
|
+
- [ ] All P0 tests pass
|
|
202
|
+
- [ ] No high-risk (≥6) items unmitigated
|
|
203
|
+
- [ ] Security tests (SEC category) pass 100%
|
|
204
|
+
- [ ] Performance targets met (PERF category)
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## Mitigation Plans
|
|
209
|
+
|
|
210
|
+
### R-001: {Risk Description} (Score: 6)
|
|
211
|
+
|
|
212
|
+
**Mitigation Strategy:** {detailed_mitigation}
|
|
213
|
+
**Owner:** {owner}
|
|
214
|
+
**Timeline:** {date}
|
|
215
|
+
**Status:** Planned / In Progress / Complete
|
|
216
|
+
**Verification:** {how_to_verify}
|
|
217
|
+
|
|
218
|
+
### R-002: {Risk Description} (Score: 6)
|
|
219
|
+
|
|
220
|
+
**Mitigation Strategy:** {detailed_mitigation}
|
|
221
|
+
**Owner:** {owner}
|
|
222
|
+
**Timeline:** {date}
|
|
223
|
+
**Status:** Planned / In Progress / Complete
|
|
224
|
+
**Verification:** {how_to_verify}
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## Assumptions and Dependencies
|
|
229
|
+
|
|
230
|
+
### Assumptions
|
|
231
|
+
|
|
232
|
+
1. {assumption}
|
|
233
|
+
2. {assumption}
|
|
234
|
+
3. {assumption}
|
|
235
|
+
|
|
236
|
+
### Dependencies
|
|
237
|
+
|
|
238
|
+
1. {dependency} - Required by {date}
|
|
239
|
+
2. {dependency} - Required by {date}
|
|
240
|
+
|
|
241
|
+
### Risks to Plan
|
|
242
|
+
|
|
243
|
+
- **Risk**: {risk_to_plan}
|
|
244
|
+
- **Impact**: {impact}
|
|
245
|
+
- **Contingency**: {contingency}
|
|
246
|
+
|
|
247
|
+
---
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## Follow-on Workflows (Manual)
|
|
252
|
+
|
|
253
|
+
- Run `*atdd` to generate failing P0 tests (separate workflow; not auto-run).
|
|
254
|
+
- Run `*automate` for broader coverage once implementation exists.
|
|
255
|
+
|
|
256
|
+
---
|
|
257
|
+
|
|
258
|
+
## Approval
|
|
259
|
+
|
|
260
|
+
**Test Design Approved By:**
|
|
261
|
+
|
|
262
|
+
- [ ] Product Manager: {name} Date: {date}
|
|
263
|
+
- [ ] Tech Lead: {name} Date: {date}
|
|
264
|
+
- [ ] QA Lead: {name} Date: {date}
|
|
265
|
+
|
|
266
|
+
**Comments:**
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
## Appendix
|
|
275
|
+
|
|
276
|
+
### Knowledge Base References
|
|
277
|
+
|
|
278
|
+
- `risk-governance.md` - Risk classification framework
|
|
279
|
+
- `probability-impact.md` - Risk scoring methodology
|
|
280
|
+
- `test-levels-framework.md` - Test level selection
|
|
281
|
+
- `test-priorities-matrix.md` - P0-P3 prioritization
|
|
282
|
+
|
|
283
|
+
### Related Documents
|
|
284
|
+
|
|
285
|
+
- PRD: {prd_link}
|
|
286
|
+
- Epic: {epic_link}
|
|
287
|
+
- Architecture: {arch_link}
|
|
288
|
+
- Tech Spec: {tech_spec_link}
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
**Generated by**: BMad TEA Agent - Test Architect Module
|
|
293
|
+
**Workflow**: `_bmad/tea/testarch/test-design`
|
|
294
|
+
**Version**: 4.0 (BMad v6)
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
---
|
|
2
|
+
validationDate: 2026-01-27
|
|
3
|
+
workflowName: testarch-test-design
|
|
4
|
+
workflowPath: /Users/murat.ozcan/opensource/bmad-method-test-architecture-enterprise/src/workflows/testarch/test-design
|
|
5
|
+
validationStatus: COMPLETE
|
|
6
|
+
completionDate: 2026-01-27 10:03:10
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Validation Report: testarch-test-design
|
|
10
|
+
|
|
11
|
+
**Validation Started:** 2026-01-27 09:50:21
|
|
12
|
+
**Validator:** BMAD Workflow Validation System (Codex)
|
|
13
|
+
**Standards Version:** BMAD Workflow Standards
|
|
14
|
+
|
|
15
|
+
## File Structure & Size
|
|
16
|
+
|
|
17
|
+
- workflow.md present: YES
|
|
18
|
+
- instructions.md present: YES
|
|
19
|
+
- workflow.yaml present: YES
|
|
20
|
+
- step files found: 8
|
|
21
|
+
|
|
22
|
+
**Step File Sizes:**
|
|
23
|
+
|
|
24
|
+
- steps-c/step-01-detect-mode.md: 93 lines [GOOD]
|
|
25
|
+
- steps-c/step-02-load-context.md: 112 lines [GOOD]
|
|
26
|
+
- steps-c/step-03-risk-and-testability.md: 76 lines [GOOD]
|
|
27
|
+
- steps-c/step-04-coverage-plan.md: 88 lines [GOOD]
|
|
28
|
+
- steps-c/step-05-generate-output.md: 85 lines [GOOD]
|
|
29
|
+
- steps-e/step-01-assess.md: 51 lines [GOOD]
|
|
30
|
+
- steps-e/step-02-apply-edit.md: 46 lines [GOOD]
|
|
31
|
+
- steps-v/step-01-validate.md: 53 lines [GOOD]
|
|
32
|
+
- workflow-plan.md present: YES
|
|
33
|
+
|
|
34
|
+
## Frontmatter Validation
|
|
35
|
+
|
|
36
|
+
- No frontmatter violations found
|
|
37
|
+
|
|
38
|
+
## Critical Path Violations
|
|
39
|
+
|
|
40
|
+
- No {project-root} hardcoded paths detected in body
|
|
41
|
+
- No dead relative links detected
|
|
42
|
+
|
|
43
|
+
## Menu Handling Validation
|
|
44
|
+
|
|
45
|
+
- No menu structures detected (linear step flow) [N/A]
|
|
46
|
+
|
|
47
|
+
## Step Type Validation
|
|
48
|
+
|
|
49
|
+
- Last step steps-v/step-01-validate.md has no nextStepFile (final step OK)
|
|
50
|
+
- Step type validation assumes linear sequence (no branching/menu). Workflow-plan.md present for reference. [INFO]
|
|
51
|
+
|
|
52
|
+
## Output Format Validation
|
|
53
|
+
|
|
54
|
+
- Templates present: test-design-architecture-template.md, test-design-qa-template.md, test-design-template.md
|
|
55
|
+
- Steps with outputFile in frontmatter:
|
|
56
|
+
- steps-c/step-05-generate-output.md
|
|
57
|
+
- steps-v/step-01-validate.md
|
|
58
|
+
|
|
59
|
+
## Validation Design Check
|
|
60
|
+
|
|
61
|
+
- checklist.md present: YES
|
|
62
|
+
- Validation steps folder (steps-v) present: YES
|
|
63
|
+
|
|
64
|
+
## Instruction Style Check
|
|
65
|
+
|
|
66
|
+
- All steps include STEP GOAL, MANDATORY EXECUTION RULES, EXECUTION PROTOCOLS, CONTEXT BOUNDARIES, and SUCCESS/FAILURE metrics
|
|
67
|
+
|
|
68
|
+
## Summary
|
|
69
|
+
|
|
70
|
+
- Validation completed: 2026-01-27 10:03:10
|
|
71
|
+
- Critical issues: 0
|
|
72
|
+
- Warnings: 0 (informational notes only)
|
|
73
|
+
- Readiness: READY (manual review optional)
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
---
|
|
2
|
+
validationDate: 2026-01-27
|
|
3
|
+
workflowName: testarch-test-design
|
|
4
|
+
workflowPath: /Users/murat.ozcan/opensource/bmad-method-test-architecture-enterprise/src/workflows/testarch/test-design
|
|
5
|
+
validationStatus: COMPLETE
|
|
6
|
+
completionDate: 2026-01-27 10:24:01
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Validation Report: testarch-test-design
|
|
10
|
+
|
|
11
|
+
**Validation Started:** 2026-01-27 10:24:01
|
|
12
|
+
**Validator:** BMAD Workflow Validation System (Codex)
|
|
13
|
+
**Standards Version:** BMAD Workflow Standards
|
|
14
|
+
|
|
15
|
+
## File Structure & Size
|
|
16
|
+
|
|
17
|
+
- workflow.md present: YES
|
|
18
|
+
- instructions.md present: YES
|
|
19
|
+
- workflow.yaml present: YES
|
|
20
|
+
- step files found: 8
|
|
21
|
+
|
|
22
|
+
**Step File Sizes:**
|
|
23
|
+
|
|
24
|
+
- steps-c/step-01-detect-mode.md: 92 lines [GOOD]
|
|
25
|
+
- steps-c/step-02-load-context.md: 111 lines [GOOD]
|
|
26
|
+
- steps-c/step-03-risk-and-testability.md: 75 lines [GOOD]
|
|
27
|
+
- steps-c/step-04-coverage-plan.md: 87 lines [GOOD]
|
|
28
|
+
- steps-c/step-05-generate-output.md: 84 lines [GOOD]
|
|
29
|
+
- steps-e/step-01-assess.md: 50 lines [GOOD]
|
|
30
|
+
- steps-e/step-02-apply-edit.md: 45 lines [GOOD]
|
|
31
|
+
- steps-v/step-01-validate.md: 52 lines [GOOD]
|
|
32
|
+
- workflow-plan.md present: YES
|
|
33
|
+
|
|
34
|
+
## Frontmatter Validation
|
|
35
|
+
|
|
36
|
+
- No frontmatter violations found
|
|
37
|
+
|
|
38
|
+
## Critical Path Violations
|
|
39
|
+
|
|
40
|
+
### Config Variables (Exceptions)
|
|
41
|
+
|
|
42
|
+
Standard BMAD config variables treated as valid exceptions: bmb_creations_output_folder, communication_language, document_output_language, output_folder, planning_artifacts, project-root, project_name, test_artifacts, user_name
|
|
43
|
+
|
|
44
|
+
- No {project-root} hardcoded paths detected in body
|
|
45
|
+
|
|
46
|
+
- No dead relative links detected
|
|
47
|
+
|
|
48
|
+
- No module path assumptions detected
|
|
49
|
+
|
|
50
|
+
**Status:** ✅ PASS - No critical violations
|
|
51
|
+
|
|
52
|
+
## Menu Handling Validation
|
|
53
|
+
|
|
54
|
+
- No menu structures detected (linear step flow) [N/A]
|
|
55
|
+
|
|
56
|
+
## Step Type Validation
|
|
57
|
+
|
|
58
|
+
- steps-c/step-01-detect-mode.md: Init [PASS]
|
|
59
|
+
- steps-c/step-02-load-context.md: Middle [PASS]
|
|
60
|
+
- steps-c/step-03-risk-and-testability.md: Middle [PASS]
|
|
61
|
+
- steps-c/step-04-coverage-plan.md: Middle [PASS]
|
|
62
|
+
- steps-c/step-05-generate-output.md: Final [PASS]
|
|
63
|
+
- Step type validation assumes linear sequence (no branching/menu). Workflow-plan.md present for reference. [INFO]
|
|
64
|
+
|
|
65
|
+
## Output Format Validation
|
|
66
|
+
|
|
67
|
+
- Templates present: test-design-architecture-template.md, test-design-qa-template.md, test-design-template.md
|
|
68
|
+
- Steps with outputFile in frontmatter:
|
|
69
|
+
- steps-c/step-05-generate-output.md
|
|
70
|
+
- steps-v/step-01-validate.md
|
|
71
|
+
- checklist.md present: YES
|
|
72
|
+
|
|
73
|
+
## Validation Design Check
|
|
74
|
+
|
|
75
|
+
- Validation steps folder (steps-v) present: YES
|
|
76
|
+
- Validation step(s) present: step-01-validate.md
|
|
77
|
+
- Validation steps reference checklist data and auto-proceed
|
|
78
|
+
|
|
79
|
+
## Instruction Style Check
|
|
80
|
+
|
|
81
|
+
- Instruction style: Prescriptive (appropriate for TEA quality/compliance workflows)
|
|
82
|
+
- Steps emphasize mandatory sequence, explicit success/failure metrics, and risk-based guidance
|
|
83
|
+
|
|
84
|
+
## Collaborative Experience Check
|
|
85
|
+
|
|
86
|
+
- Overall facilitation quality: GOOD
|
|
87
|
+
- Steps use progressive prompts and clear role reinforcement; no laundry-list interrogation detected
|
|
88
|
+
- Flow progression is clear and aligned to workflow goals
|
|
89
|
+
|
|
90
|
+
## Subprocess Optimization Opportunities
|
|
91
|
+
|
|
92
|
+
- No high-priority subprocess optimizations identified; workflow already uses step-file architecture
|
|
93
|
+
- Pattern 1 (grep/regex): N/A for most steps
|
|
94
|
+
- Pattern 2 (per-file analysis): already aligned to validation structure
|
|
95
|
+
- Pattern 3 (data ops): minimal data file loads
|
|
96
|
+
- Pattern 4 (parallel): optional for validation only
|
|
97
|
+
|
|
98
|
+
## Cohesive Review
|
|
99
|
+
|
|
100
|
+
- Overall assessment: GOOD
|
|
101
|
+
- Flow is linear, goals are clear, and outputs map to TEA artifacts
|
|
102
|
+
- Voice and tone consistent with Test Architect persona
|
|
103
|
+
- Recommendation: READY (minor refinements optional)
|
|
104
|
+
|
|
105
|
+
## Plan Quality Validation
|
|
106
|
+
|
|
107
|
+
- Plan file present: workflow-plan.md
|
|
108
|
+
- Planned steps found: 8 (all implemented)
|
|
109
|
+
- Plan implementation status: Fully Implemented
|
|
110
|
+
|
|
111
|
+
## Summary
|
|
112
|
+
|
|
113
|
+
- Validation completed: 2026-01-27 10:24:01
|
|
114
|
+
- Critical issues: 0
|
|
115
|
+
- Warnings: 0 (informational notes only)
|
|
116
|
+
- Readiness: READY (manual review optional)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Workflow Plan: testarch-test-design
|
|
2
|
+
|
|
3
|
+
## Create Mode (steps-c)
|
|
4
|
+
- step-01-detect-mode.md
|
|
5
|
+
|
|
6
|
+
- step-02-load-context.md
|
|
7
|
+
- step-03-risk-and-testability.md
|
|
8
|
+
- step-04-coverage-plan.md
|
|
9
|
+
- step-05-generate-output.md
|
|
10
|
+
|
|
11
|
+
## Validate Mode (steps-v)
|
|
12
|
+
- step-01-validate.md
|
|
13
|
+
|
|
14
|
+
## Edit Mode (steps-e)
|
|
15
|
+
- step-01-assess.md
|
|
16
|
+
- step-02-apply-edit.md
|
|
17
|
+
|
|
18
|
+
## Outputs
|
|
19
|
+
- {output_folder}/test-design-architecture.md (system-level)
|
|
20
|
+
|
|
21
|
+
- {output_folder}/test-design-qa.md (system-level)
|
|
22
|
+
- {output_folder}/test-design-epic-{epic_num}.md (epic-level)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: testarch-test-design
|
|
3
|
+
description: 'Epic-level test plan (Phase 4)'
|
|
4
|
+
web_bundle: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Test Design and Risk Assessment
|
|
8
|
+
|
|
9
|
+
**Goal:** Epic-level test plan (Phase 4)
|
|
10
|
+
|
|
11
|
+
**Role:** You are the Master Test Architect.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## WORKFLOW ARCHITECTURE
|
|
16
|
+
|
|
17
|
+
This workflow uses **tri-modal step-file architecture**:
|
|
18
|
+
|
|
19
|
+
- **Create mode (steps-c/)**: primary execution flow
|
|
20
|
+
- **Validate mode (steps-v/)**: validation against checklist
|
|
21
|
+
- **Edit mode (steps-e/)**: revise existing outputs
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## INITIALIZATION SEQUENCE
|
|
26
|
+
|
|
27
|
+
### 1. Mode Determination
|
|
28
|
+
|
|
29
|
+
"Welcome to the workflow. What would you like to do?"
|
|
30
|
+
|
|
31
|
+
- **[C] Create** — Run the workflow
|
|
32
|
+
- **[V] Validate** — Validate existing outputs
|
|
33
|
+
- **[E] Edit** — Edit existing outputs
|
|
34
|
+
|
|
35
|
+
### 2. Route to First Step
|
|
36
|
+
|
|
37
|
+
- **If C:** Load `steps-c/step-01-detect-mode.md`
|
|
38
|
+
- **If V:** Load `steps-v/step-01-validate.md`
|
|
39
|
+
- **If E:** Load `steps-e/step-01-assess.md`
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Test Architect workflow: test-design
|
|
2
|
+
name: testarch-test-design
|
|
3
|
+
description: "Dual-mode workflow: (1) System-level testability review in Solutioning phase, or (2) Epic-level test planning in Implementation phase. Auto-detects mode based on project phase."
|
|
4
|
+
author: "BMad"
|
|
5
|
+
|
|
6
|
+
# Critical variables from config
|
|
7
|
+
config_source: "{project-root}/_bmad/tea/config.yaml"
|
|
8
|
+
output_folder: "{config_source}:output_folder"
|
|
9
|
+
user_name: "{config_source}:user_name"
|
|
10
|
+
communication_language: "{config_source}:communication_language"
|
|
11
|
+
document_output_language: "{config_source}:document_output_language"
|
|
12
|
+
date: system-generated
|
|
13
|
+
|
|
14
|
+
# Workflow components
|
|
15
|
+
installed_path: "{project-root}/_bmad/tea/workflows/testarch/test-design"
|
|
16
|
+
instructions: "{installed_path}/instructions.md"
|
|
17
|
+
validation: "{installed_path}/checklist.md"
|
|
18
|
+
# Note: Template selection is mode-based (see instructions.md Step 1.5):
|
|
19
|
+
# - System-level: test-design-architecture-template.md + test-design-qa-template.md
|
|
20
|
+
# - Epic-level: test-design-template.md (unchanged)
|
|
21
|
+
template: "{installed_path}/test-design-template.md"
|
|
22
|
+
|
|
23
|
+
# Variables and inputs
|
|
24
|
+
variables:
|
|
25
|
+
design_level: "full" # full, targeted, minimal - scope of design effort
|
|
26
|
+
mode: "auto-detect" # auto-detect (default), system-level, epic-level
|
|
27
|
+
|
|
28
|
+
# Output configuration
|
|
29
|
+
# Note: Actual output file determined dynamically based on mode detection
|
|
30
|
+
# Declared outputs for new workflow format
|
|
31
|
+
outputs:
|
|
32
|
+
# System-Level Mode (Phase 3) - TWO documents
|
|
33
|
+
- id: test-design-architecture
|
|
34
|
+
description: "System-level test architecture: Architectural concerns, testability gaps, NFR requirements for Architecture/Dev teams"
|
|
35
|
+
path: "{output_folder}/test-design-architecture.md"
|
|
36
|
+
mode: system-level
|
|
37
|
+
audience: architecture
|
|
38
|
+
|
|
39
|
+
- id: test-design-qa
|
|
40
|
+
description: "System-level test design: Test execution recipe, coverage plan, Sprint 0 setup for QA team"
|
|
41
|
+
path: "{output_folder}/test-design-qa.md"
|
|
42
|
+
mode: system-level
|
|
43
|
+
audience: qa
|
|
44
|
+
|
|
45
|
+
# Epic-Level Mode (Phase 4) - ONE document (unchanged)
|
|
46
|
+
- id: epic-level
|
|
47
|
+
description: "Epic-level test plan (Phase 4)"
|
|
48
|
+
path: "{output_folder}/test-design-epic-{epic_num}.md"
|
|
49
|
+
mode: epic-level
|
|
50
|
+
# Note: No default_output_file - mode detection determines which outputs to write
|
|
51
|
+
|
|
52
|
+
# Required tools
|
|
53
|
+
required_tools:
|
|
54
|
+
- read_file # Read PRD, epics, stories, architecture docs
|
|
55
|
+
- write_file # Create test design document
|
|
56
|
+
- list_files # Find related documentation
|
|
57
|
+
- search_repo # Search for existing tests and patterns
|
|
58
|
+
|
|
59
|
+
tags:
|
|
60
|
+
- qa
|
|
61
|
+
- planning
|
|
62
|
+
- test-architect
|
|
63
|
+
- risk-assessment
|
|
64
|
+
- coverage
|
|
65
|
+
|
|
66
|
+
execution_hints:
|
|
67
|
+
interactive: false # Minimize prompts
|
|
68
|
+
autonomous: true # Proceed without user input unless blocked
|
|
69
|
+
iterative: true
|
|
70
|
+
|
|
71
|
+
web_bundle: false
|