diff --git a/lib/datadog/ci.rb b/lib/datadog/ci.rb index 2d56b52d..7bfd382e 100644 --- a/lib/datadog/ci.rb +++ b/lib/datadog/ci.rb @@ -11,6 +11,7 @@ module Datadog module CI class << self # Return a {Datadog::CI::Test ci_test} that will trace a test called `test_name`. + # Raises an error if a test is already active. # # You could trace your test using a do-block like: # @@ -61,6 +62,7 @@ def trace_test(test_name, service_name: nil, operation_name: "test", tags: {}, & end # Same as {#trace_test} but it does not accept a block. + # Raises an error if a test is already active. # # Usage: #