Closed anmarchenko closed 9 months ago
Attention: 9 lines
in your changes are missing coverage. Please review.
Comparison is base (
c3ccfee
) 99.06% compared to head (1d7d3ac
) 98.96%.
Files | Patch % | Lines |
---|---|---|
...c/datadog/ci/contrib/rspec/instrumentation_spec.rb | 93.20% | 7 Missing :warning: |
lib/datadog/ci/contrib/rspec/example.rb | 85.71% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What does this PR do? Fix #96
Adds RSpec instrumentation support when running with ci-queue test runner. It instruments RSpec::Queue::Runner that is used by ci-queue and also creates "single-test" test suite akin to Minitest parallel tests if we detect to be running in a RSpec::Core::Example instrumented by ci-queue. Also it fixes our handling of pending tests correctly marking them as skipped and adds a lot of unit tests around all of the ways we can skip tests in RSpec
Motivation We have users of this library who run their rspec test suites using ci-queue