{
  "version": "1.0",
  "description": "Golden Path Standards - Testing Core Standard",
  "standards": {
    "testing": {
      "unit": "vitest",
      "component": "testing-library",
      "e2e": "playwright",
      "accessibility": "automated"
    }
  },
  "rules": {
    "testing": {
      "accessibility": "required",
      "userCentric": "required",
      "asyncHandling": "proper",
      "mocking": "comprehensive"
    }
  },
  "codeGeneration": {
    "testing": "included"
  },
  "validation": {
    "testing": {
      "unit": "vitest",
      "e2e": "playwright",
      "coverage": "enabled"
    }
  },
  "patterns": {
    "e2eTest": {
      "description": "End-to-end test with Playwright and accessibility checks",
      "tags": ["testing", "e2e", "playwright", "accessibility"]
    },
    "componentTest": {
      "description": "Component test with Testing Library and user-event",
      "tags": ["testing", "component", "testing-library", "user-event"]
    },
    "integrationTest": {
      "description": "Integration test with API mocking and error handling",
      "tags": ["testing", "integration", "api", "mocking"]
    }
  },
  "instructions": [
    "For testing: use accessibility-first locators (getByRole, getByLabelText)",
    "For testing: prefer user-event over fireEvent for user interactions",
    "For testing: include both success and error scenarios",
    "For testing: mock external dependencies properly",
    "For testing: verify accessibility attributes and keyboard navigation"
  ]
}
