Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable passing of cucumber runtime args #86

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

calebkeene
Copy link

@calebkeene calebkeene commented Nov 26, 2021

with newer cucumber versions (>5) and rails >= 6.1 on semaphore there is no output when running cucumber tests unless --verbose is explicitly passed and this can make debugging quite difficult. It's currently not possible to pass in these cucumber args to the cucumber_booster script. Allow it to load args from an environment variable that can be set in the build container

e.g.

CUCUMBER_ARGS="--backtrace --verbose --format pretty" cucumber_booster --job $SEMAPHORE_JOB_INDEX/$SEMAPHORE_JOB_COUNT

will provide a nice verbose output that allows debugging of any test failures without having to SSH in to a build container and poke around in the logs

@calebkeene
Copy link
Author

@shiroyasha @bmarkons can we merge?

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.

1 participant