Class: Datadog::CI::TestVisibility::NullComponent
- Inherits:
-
Object
- Object
- Datadog::CI::TestVisibility::NullComponent
- Defined in:
- lib/datadog/ci/test_visibility/null_component.rb
Overview
Special test visibility component that does not record anything
Instance Method Summary collapse
- #active_span ⇒ Object
- #active_test ⇒ Object
- #active_test_module ⇒ Object
- #active_test_session ⇒ Object
- #active_test_suite(test_suite_name) ⇒ Object
- #itr_enabled? ⇒ Boolean
- #logical_test_session_name ⇒ Object
- #remove_test_finished_callback ⇒ Object
- #set_test_finished_callback(_) ⇒ Object
- #shutdown! ⇒ Object
- #start_test_module(test_module_name, service: nil, tags: {}) ⇒ Object
- #start_test_session(service: nil, tags: {}, total_tests_count: 0) ⇒ Object
- #start_test_suite(test_suite_name, service: nil, tags: {}) ⇒ Object
- #test_suite_level_visibility_enabled ⇒ Object
- #trace(span_name, type: "span", tags: {}, &block) ⇒ Object
- #trace_test(test_name, test_suite_name, service: nil, tags: {}, &block) ⇒ Object
Instance Method Details
#active_span ⇒ Object
28 29 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 28 def active_span end |
#active_test ⇒ Object
31 32 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 31 def active_test end |
#active_test_module ⇒ Object
37 38 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 37 def active_test_module end |
#active_test_session ⇒ Object
34 35 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 34 def active_test_session end |
#active_test_suite(test_suite_name) ⇒ Object
40 41 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 40 def active_test_suite(test_suite_name) end |
#itr_enabled? ⇒ Boolean
46 47 48 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 46 def itr_enabled? false end |
#logical_test_session_name ⇒ Object
60 61 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 60 def logical_test_session_name end |
#remove_test_finished_callback ⇒ Object
53 54 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 53 def remove_test_finished_callback end |
#set_test_finished_callback(_) ⇒ Object
50 51 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 50 def set_test_finished_callback(_) end |
#shutdown! ⇒ Object
43 44 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 43 def shutdown! end |
#start_test_module(test_module_name, service: nil, tags: {}) ⇒ Object
12 13 14 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 12 def start_test_module(test_module_name, service: nil, tags: {}) skip_tracing end |
#start_test_session(service: nil, tags: {}, total_tests_count: 0) ⇒ Object
8 9 10 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 8 def start_test_session(service: nil, tags: {}, total_tests_count: 0) skip_tracing end |
#start_test_suite(test_suite_name, service: nil, tags: {}) ⇒ Object
16 17 18 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 16 def start_test_suite(test_suite_name, service: nil, tags: {}) skip_tracing end |
#test_suite_level_visibility_enabled ⇒ Object
56 57 58 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 56 def test_suite_level_visibility_enabled false end |
#trace(span_name, type: "span", tags: {}, &block) ⇒ Object
24 25 26 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 24 def trace(span_name, type: "span", tags: {}, &block) skip_tracing(block) end |
#trace_test(test_name, test_suite_name, service: nil, tags: {}, &block) ⇒ Object
20 21 22 |
# File 'lib/datadog/ci/test_visibility/null_component.rb', line 20 def trace_test(test_name, test_suite_name, service: nil, tags: {}, &block) skip_tracing(block) end |