DataDog / datadog-ci-rb

Ruby library for Datadog test visibility
https://docs.datadoghq.com/continuous_integration/tests/ruby
Other
8 stars 4 forks source link

[CIVIS-8552] ci-queue runner support for minitest #110

Closed anmarchenko closed 9 months ago

anmarchenko commented 9 months ago

What does this PR do? Adds ci-queue support when using Minitest

Additional Notes ci-queue is a test runner developed and open sourced by Shopify. It runs Minitest and RSpec (deprecated) test suites in parallel using several workers and coordinating using redis queue.

ci-queue instrumentation for Minitest posed several challenges:

How to test the change? Unit tests are provided

codecov-commenter commented 9 months ago

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (b8ce942) 99.05% compared to head (897abcc) 97.75%.

Files Patch % Lines
lib/datadog/ci/contrib/minitest/reporter.rb 33.33% 8 Missing :warning:
lib/datadog/ci/contrib/minitest/helpers.rb 0.00% 2 Missing :warning:
lib/datadog/ci/contrib/minitest/patcher.rb 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #110 +/- ## ========================================== - Coverage 99.05% 97.75% -1.31% ========================================== Files 147 144 -3 Lines 6276 5887 -389 Branches 288 288 ========================================== - Hits 6217 5755 -462 - Misses 59 132 +73 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.