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

Implement test_order logging for RSpec implementation #99

Merged
merged 1 commit into from
Jun 17, 2019

Conversation

casperisfine
Copy link
Contributor

Fix: #98

Log test order in a file with the RSpec implementation to be able to replay the sequence with rspec-queue --queue path/to/test_order.log.

@schneems

schneems added a commit to heroku/heroku-buildpack-ruby that referenced this pull request Jun 6, 2019
Feature introduced in Shopify/ci-queue#99

This will output a failing test order if the suite fails.
@schneems
Copy link
Contributor

schneems commented Jun 6, 2019

I can confirm it works for me. Here's my branch heroku/heroku-buildpack-ruby#890.

Since Heroku CI doesn't have "artifacts" i'm having to output to the STDOUT instead:

<ci-queue-command-here> || { cat log/test_order.log;  $(exit 1); }

@casperisfine casperisfine merged commit 418616b into master Jun 17, 2019
@casperisfine casperisfine deleted the rspec-log-order branch June 17, 2019 09:04
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems June 17, 2019 09:07 Inactive
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.

Allow to reproduce order-related failures by printing a full executable command
3 participants