diff --git a/features/BDD_TAGS.md b/features/BDD_TAGS.md index 08b1b8f..cb6abf5 100644 --- a/features/BDD_TAGS.md +++ b/features/BDD_TAGS.md @@ -18,6 +18,7 @@ Used to categorize tests by importance: - `@critical` - Critical path tests that must always pass - `@basic` - Basic functionality tests - `@advanced` - Advanced or edge case scenarios +- `@nice_to_have` - Optional features that would be nice to have but aren't critical ### Component Tags Used to categorize tests by system component: @@ -32,6 +33,24 @@ Used to exclude tests from execution: - `@todo` - Tests with pending step implementations - `@skip` - Tests that should be skipped entirely +### Nice-to-Have Tag + +The `@nice_to_have` tag is used to mark scenarios that test optional features or enhancements. These are features that would be beneficial to have but aren't critical for the core functionality of the system. + +**Usage:** +- Add `@nice_to_have` to scenarios testing optional features +- These scenarios are typically excluded from critical path testing +- Useful for marking "stretch goal" functionality + +**Example:** +```gherkin +@nice_to_have @greet +Scenario: Greeting with custom formatting options + Given the server is running + When I request a greeting with bold formatting + Then the response should contain HTML bold tags +``` + ### Work In Progress Tag Used to override exclusions for active development: - `@wip` - Work In Progress - overrides exclusion tags to allow focused development @@ -206,6 +225,7 @@ Feature: Health Endpoint | `@critical` | Critical path | `@critical` on essential scenarios | | `@basic` | Basic functionality | `@basic` on standard scenarios | | `@advanced` | Advanced scenarios | `@advanced` on edge cases | +| `@nice_to_have` | Optional features | `@nice_to_have` on stretch goal scenarios | | `@auth` | Authentication | `@auth` on auth features | | `@config` | Configuration | `@config` on config scenarios | | `@api` | API endpoints | `@api` on endpoint tests |