You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that ci:setup:rspec has a dependency on ci:setup:spec_report_cleanup. While this is great to ensure a clean slate for a gem or rails-app, I have a problem. I use rspec to test several puppet-modules, which means I have several distinct rake rspec-invocations. Clearing the reports on the start of the CI-run is a sensible thing to do. I ended up working around the cleanup like this:
# main Rakefilerequire'ci/reporter/rake/rspec'task:spec=>'ci:setup:spec_report_cleanup'
# each module's Rakefilerequire'ci/reporter/rake/rspec'task:setup_ci_reporterdosetup_spec_opts("--format","documentation")endtask:spec=>:setup_ci_reporter
I plan to create a PR for this, but cannot do this now. So for now I just leave this here to at least raise awareness to this edge-case and offer a potential solution.
A possible solution might resolve this issue together with #14 …
The text was updated successfully, but these errors were encountered:
@kronn sounds great! Please let me know how I can help shepherd your PR though. Fair warning, I may be a bit slow on responding, but I swear I read reports! 😸
I noticed that
ci:setup:rspec
has a dependency onci:setup:spec_report_cleanup
. While this is great to ensure a clean slate for a gem or rails-app, I have a problem. I use rspec to test several puppet-modules, which means I have several distinctrake rspec
-invocations. Clearing the reports on the start of the CI-run is a sensible thing to do. I ended up working around the cleanup like this:I plan to create a PR for this, but cannot do this now. So for now I just leave this here to at least raise awareness to this edge-case and offer a potential solution.
A possible solution might resolve this issue together with #14 …
The text was updated successfully, but these errors were encountered: