🧪 test: add @wip tag for focused development

- Add @wip tag documentation to BDD_TAGS.md
- Modify all feature test suites to include @wip in tag filters
- Update test scripts to handle @wip tag inclusion
- @wip overrides exclusion tags (@todo, @skip, @flaky) for active development

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-04-10 09:14:29 +02:00
parent a75f87777b
commit e9fd453a88
9 changed files with 30 additions and 14 deletions

View File

@@ -32,6 +32,21 @@ Used to exclude tests from execution:
- `@todo` - Tests with pending step implementations
- `@skip` - Tests that should be skipped entirely
### Work In Progress Tag
Used to override exclusions for active development:
- `@wip` - Work In Progress - overrides exclusion tags to allow focused development
**Usage:** Add `@wip` to scenarios you're actively working on, even if they have other exclusion tags like `@todo` or `@skip`. The `@wip` tag takes precedence and allows the scenario to run.
**Example:**
```gherkin
@todo @wip
Scenario: JWT authentication with multiple secrets
Given the server is running with multiple JWT secrets
When I authenticate with valid credentials
Then I should receive a valid JWT token
```
## Usage Examples
### Running Smoke Tests
@@ -159,6 +174,7 @@ Feature: Health Endpoint
| `@flaky` | Exclude flaky tests | `@flaky` on unstable scenarios |
| `@todo` | Exclude pending tests | `@todo` on unimplemented scenarios |
| `@skip` | Exclude tests entirely | `@skip` on disabled scenarios |
| `@wip` | Work in progress | `@wip` on actively developed scenarios |
## Future Enhancements

View File

@@ -24,7 +24,7 @@ func TestAuthBDD(t *testing.T) {
Strict: true,
Randomize: -1,
StopOnFailure: true,
Tags: "~@flaky && ~@todo && ~@skip",
Tags: "~@flaky && ~@todo && ~@skip && @wip",
},
}

View File

@@ -24,7 +24,7 @@ func TestConfigBDD(t *testing.T) {
Strict: true,
Randomize: -1,
StopOnFailure: false,
Tags: "~@flaky && ~@todo && ~@skip",
Tags: "~@flaky && ~@todo && ~@skip && @wip",
},
}

View File

@@ -24,7 +24,7 @@ func TestGreetBDD(t *testing.T) {
Strict: true,
Randomize: -1,
StopOnFailure: true,
Tags: "~@flaky && ~@todo && ~@skip",
Tags: "~@flaky && ~@todo && ~@skip && @wip",
},
}

View File

@@ -24,7 +24,7 @@ func TestHealthBDD(t *testing.T) {
Strict: true,
Randomize: -1,
StopOnFailure: true,
Tags: "~@flaky && ~@todo && ~@skip",
Tags: "~@flaky && ~@todo && ~@skip && @wip",
},
}

View File

@@ -24,7 +24,7 @@ func TestJWTBDD(t *testing.T) {
Strict: true,
Randomize: -1,
StopOnFailure: true,
Tags: "~@flaky && ~@todo && ~@skip",
Tags: "~@flaky && ~@todo && ~@skip && @wip",
},
}