diff --git a/CHANGELOG.md b/CHANGELOG.md index d493702..9202563 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,12 @@ Breaking changes are prefixed with a "[BREAKING]" label. ## master (unreleased) -## 0.7.0 (2021-04-1) +## 0.7.1 (2021-04-08) + +- New env variable RSPECQ_REPORTER_RERUN_COMMAND_SKIP. When set, the reporter + does not include the flaky test's rerun command. + +## 0.7.0 (2021-04-01) - New cli parameter `reproduction`. When passed, primary worker publishes the queue in the same order as passed diff --git a/lib/rspecq/reporter.rb b/lib/rspecq/reporter.rb index 58aa409..e4c2d88 100644 --- a/lib/rspecq/reporter.rb +++ b/lib/rspecq/reporter.rb @@ -113,6 +113,8 @@ def summary(failures, errors, flaky_jobs, duration) RSpec.configuration.pending_color ) + next if ENV["RSPECQ_REPORTER_RERUN_COMMAND_SKIP"] + summary << "#{@queue.job_rerun_command(j)}\n\n\n" end end