🧪 test: remove hardcoded @wip and update tag logic

- Remove @wip from default tag filters in all test suites
- Update features/bdd_test.go to support GODOG_TAGS override
- Move @wip tag from passing scenario to @todo scenario
- Maintain tag override functionality via GODOG_TAGS environment variable
- Update documentation to reflect new default behavior

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-04-10 10:13:45 +02:00
parent 4292f79c6a
commit 1f92302eff
13 changed files with 44 additions and 31 deletions

View File

@@ -43,9 +43,9 @@ run_feature_test() {
docker exec dance-lessons-coach-postgres createdb -U postgres "${DLC_DATABASE_NAME}"
fi
# Run the feature tests with tag exclusion and WIP inclusion
# Run the feature tests with tag exclusion
cd "features/${feature_name}"
FEATURE=${feature_name} DLC_DATABASE_NAME="${DLC_DATABASE_NAME}" go test -v . -tags="~@flaky && ~@todo && ~@skip && @wip" 2>&1 | grep -E "(PASS|FAIL|RUN)" || true
FEATURE=${feature_name} DLC_DATABASE_NAME="${DLC_DATABASE_NAME}" go test -v . -tags="~@flaky && ~@todo && ~@skip" 2>&1 | grep -E "(PASS|FAIL|RUN)" || true
# Cleanup
cd ../..