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

[ci-visibility] Add test.framework_version Tag to rspec and cucumber #1713

Merged

Conversation

juan-fernandez
Copy link
Contributor

This helps pinpoint issues with specific versions of the testing frameworks.

@juan-fernandez juan-fernandez force-pushed the juan-fernandez/ci-visibility-add-framework-version branch from d72f5de to ac8193c Compare October 7, 2021 10:29
@codecov-commenter
Copy link

Codecov Report

Merging #1713 (ac8193c) into master (8b97105) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1713   +/-   ##
=======================================
  Coverage   98.17%   98.17%           
=======================================
  Files         934      934           
  Lines       45048    45057    +9     
=======================================
+ Hits        44227    44236    +9     
  Misses        821      821           
Impacted Files Coverage Δ
lib/datadog/ci/contrib/cucumber/formatter.rb 91.66% <ø> (ø)
lib/datadog/ci/contrib/rspec/example.rb 96.77% <ø> (ø)
lib/datadog/ci/ext/test.rb 100.00% <100.00%> (ø)
lib/datadog/ci/test.rb 100.00% <100.00%> (ø)
...c/datadog/ci/contrib/rspec/instrumentation_spec.rb 100.00% <100.00%> (ø)
spec/datadog/ci/test_spec.rb 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b97105...ac8193c. Read the comment docs.

@juan-fernandez juan-fernandez marked this pull request as ready for review October 7, 2021 10:43
@juan-fernandez juan-fernandez requested a review from a team October 7, 2021 10:43
@@ -39,6 +39,7 @@ def on_test_case_started(event)
service: configuration[:service_name]
},
framework: Ext::FRAMEWORK,
framework_version: Gem.loaded_specs['cucumber'].version.to_s,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same suggestion as the RSpec one below.

Co-authored-by: Marco Costa <marco.costa@datadoghq.com>
@juan-fernandez juan-fernandez force-pushed the juan-fernandez/ci-visibility-add-framework-version branch from 7f42039 to e212b3e Compare October 8, 2021 08:36
Copy link
Contributor

@delner delner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good to me.

@juan-fernandez juan-fernandez merged commit db80ca4 into master Oct 11, 2021
@juan-fernandez juan-fernandez deleted the juan-fernandez/ci-visibility-add-framework-version branch October 11, 2021 08:35
@github-actions github-actions bot added this to the 0.54.0 milestone Oct 11, 2021
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.

4 participants