skills/smithery.ai/Creating Feature Tests

Creating Feature Tests

Installation
SKILL.md

Creating Feature Tests

Create behavior-driven, fail-first feature tests for user-facing behaviors.

What you should do

  1. Collect behavior scenario from user – Extract the core user-facing behavior to validate. If unspecified, analyze the codebase for primary user flows (e.g., authentication, form submission, navigation) and select a behavior that lacks clear test coverage.

  2. Analyze feature dependencies and requirements – Examine the target feature's implementation to identify:

    • External services, APIs, or databases required for the feature
    • Authentication or authorization dependencies
    • UI components, forms, or user interaction elements
    • Configuration, environment variables, or feature flags
    • Third-party integrations or external systems
  3. Check for existing test coverage – Search the tests/features/ directory or equivalent for files or test cases related to the behavior. If the behavior is already tested, skip to Step 10 to optionally refactor, expand, or annotate the test.

Installs
–
First Seen
–
Creating Feature Tests from smithery.ai