Skip to content

Commit

Permalink
testing metadata[:skip] approach for skipping context hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Dec 3, 2024
1 parent 4fda3da commit e80271e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/datadog/ci/contrib/rspec/example_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ def run(reporter = ::RSpec::Core::NullReporter)
}
)

# try skipping the whole example group
metadata[:skip] = true

success = super
return success unless test_suite

Expand Down

0 comments on commit e80271e

Please sign in to comment.