Module: Datadog::CI::Contrib::Minitest::Test::ClassMethods
- Defined in:
- lib/datadog/ci/contrib/minitest/test.rb
Instance Method Summary collapse
- #datadog_itr_unskippable(*args) ⇒ Object
- #dd_suite_unskippable? ⇒ Boolean
- #dd_test_unskippable?(test_name) ⇒ Boolean
Instance Method Details
#datadog_itr_unskippable(*args) ⇒ Object
92 93 94 95 96 97 98 |
# File 'lib/datadog/ci/contrib/minitest/test.rb', line 92 def datadog_itr_unskippable(*args) if args.nil? || args.empty? @datadog_itr_unskippable_suite = true else @datadog_itr_unskippable_tests = args end end |
#dd_suite_unskippable? ⇒ Boolean
100 101 102 |
# File 'lib/datadog/ci/contrib/minitest/test.rb', line 100 def dd_suite_unskippable? @datadog_itr_unskippable_suite end |
#dd_test_unskippable?(test_name) ⇒ Boolean
104 105 106 107 108 |
# File 'lib/datadog/ci/contrib/minitest/test.rb', line 104 def dd_test_unskippable?(test_name) return false unless @datadog_itr_unskippable_tests @datadog_itr_unskippable_tests.include?(test_name) end |