-
Notifications
You must be signed in to change notification settings - Fork 4
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
[CIVIS-2934] ITR test skipping implementation #160
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 1.0 #160 +/- ##
==========================================
- Coverage 99.05% 98.90% -0.16%
==========================================
Files 195 196 +1
Lines 9032 9326 +294
Branches 390 404 +14
==========================================
+ Hits 8947 9224 +277
- Misses 85 102 +17 ☔ View full report in Codecov by Sentry. |
…e for unskippable tests
…ount for unskippable tests
def execute(*args) | ||
test_span = CI.active_test | ||
if test_span&.skipped_by_itr? | ||
@action.skip(*args) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing Cucumber doesn't have a way to report the message CI::Ext::Test::ITR_TEST_SKIP_REASON
, unlike Minitest and RSpec?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, at least not easily findable.
skip_this_scenario
method does not accept arguments with skip reason for example
What does this PR do?
How to test the change?
Tested on DD staging.
Results for Rubocop:
Results for sidekiq: