🧪 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:
@@ -43,9 +43,9 @@ run_feature_test() {
|
||||
docker exec dance-lessons-coach-postgres createdb -U postgres "${DLC_DATABASE_NAME}"
|
||||
fi
|
||||
|
||||
# Run the feature tests
|
||||
# Run the feature tests with tag exclusion
|
||||
cd "features/${feature_name}"
|
||||
FEATURE=${feature_name} DLC_DATABASE_NAME="${DLC_DATABASE_NAME}" go test -v . 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 ../..
|
||||
|
||||
Reference in New Issue
Block a user