Skip to content

Preserve quoted multi-tag cucumber expressions in acctest/acceptance-test aliases#189

Merged
sichapman merged 2 commits into
developfrom
copilot/fix-cucumber-tags-issue
May 13, 2026
Merged

Preserve quoted multi-tag cucumber expressions in acctest/acceptance-test aliases#189
sichapman merged 2 commits into
developfrom
copilot/fix-cucumber-tags-issue

Conversation

Copilot AI commented May 13, 2026

Copy link
Copy Markdown
Contributor

acctest/acceptance-test stopped working for multiple cucumber tags because shell argument expansion split expressions like --tags "@tag1 or @tag2" into separate tokens, causing or to be treated as a file/command argument. Direct docker-compose ... cucumber usage still worked because the quoted expression stayed intact.

  • Alias argument forwarding

    • Updated acceptance test aliases in scripts/add-aliases.sh to preserve original argument boundaries when forwarding to run_tests.sh.
    • This ensures multi-tag expressions using Cucumber’s supported or syntax are passed through as a single --tags value.
  • Scope

    • Change is limited to:
      • acceptance-test
      • acctest
    • No behavioral changes to other aliases/functions.
# before
run ${1} sh run_tests.sh ${@:2}

# after
run ${1} sh run_tests.sh "${@:2}"

Copilot AI changed the title [WIP] Fix cucumber aliases for multiple tags in acceptance tests Preserve quoted multi-tag cucumber expressions in acctest/acceptance-test aliases May 13, 2026
Copilot AI requested a review from sichapman May 13, 2026 14:19
@sichapman sichapman marked this pull request as ready for review May 13, 2026 14:27
@sichapman sichapman merged commit 8ff3897 into develop May 13, 2026
3 checks passed
@sichapman sichapman deleted the copilot/fix-cucumber-tags-issue branch May 13, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test aliases don't allow for multiple cucumber tags to be run locally

2 participants