🧪 test: add BDD exclusion tags and mark JWT scenarios as todo

- Add @flaky, @todo, @skip tags to BDD_TAGS.md
- Modify all feature test suites to exclude these tags
- Update test scripts to exclude tagged scenarios
- Mark all JWT scenarios with pending steps as @todo

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-04-10 09:09:34 +02:00
parent 520da07bfe
commit a75f87777b
11 changed files with 51 additions and 11 deletions

View File

@@ -122,17 +122,17 @@ run_tests_with_tags() {
echo "🏗️ CI environment detected, using service configuration"
fi
# Run tests with proper coverage measurement
# Run tests with proper coverage measurement and tag exclusion
set +e
if [ -n "$tags" ]; then
# Use godog directly for tag filtering
echo "🚀 Running: godog $tags features/"
test_output=$(godog $tags features/ 2>&1)
# Use godog directly for tag filtering with exclusion
echo "🚀 Running: godog $tags --tags=~@flaky --tags=~@todo --tags=~@skip features/"
test_output=$(godog $tags --tags=~@flaky --tags=~@todo --tags=~@skip features/ 2>&1)
else
# Use go test for full test suite
echo "🚀 Running: go test ./features/..."
test_output=$(go test ./features/... -v -cover -coverpkg=./... -coverprofile=coverage.out 2>&1)
# Use go test for full test suite with tag exclusion
echo "🚀 Running: go test ./features/... -tags=~@flaky,~@todo,~@skip"
test_output=$(go test ./features/... -tags=~@flaky,~@todo,~@skip -v -cover -coverpkg=./... -coverprofile=coverage.out 2>&1)
fi
test_exit_code=$?