-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run
rake rbs:prototype
to add RBS signatures for Minitest integration
- Loading branch information
1 parent
2f75760
commit 9311ef9
Showing
5 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
sig/datadog/ci/contrib/minitest/configuration/settings.rbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module Datadog | ||
module CI | ||
module Contrib | ||
module Minitest | ||
module Configuration | ||
class Settings < Datadog::Tracing::Contrib::Configuration::Settings | ||
end | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module Datadog | ||
module CI | ||
module Contrib | ||
module Minitest | ||
module Ext | ||
APP: "minitest" | ||
|
||
ENV_ENABLED: "DD_TRACE_MINITEST_ENABLED" | ||
|
||
ENV_OPERATION_NAME: "DD_TRACE_MINITEST_OPERATION_NAME" | ||
|
||
FRAMEWORK: "minitest" | ||
|
||
OPERATION_NAME: "minitest.test" | ||
|
||
SERVICE_NAME: "minitest" | ||
|
||
TEST_TYPE: "test" | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
module Datadog | ||
module CI | ||
module Contrib | ||
module Minitest | ||
class Integration | ||
include Datadog::Tracing::Contrib::Integration | ||
|
||
MINIMUM_VERSION: untyped | ||
|
||
def self.version: () -> untyped | ||
|
||
def self.loaded?: () -> untyped | ||
|
||
def self.compatible?: () -> untyped | ||
def auto_instrument?: () -> false | ||
|
||
def new_configuration: () -> untyped | ||
|
||
def patcher: () -> untyped | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module Datadog | ||
module CI | ||
module Contrib | ||
module Minitest | ||
module Patcher | ||
include Datadog::Tracing::Contrib::Patcher | ||
|
||
def self?.target_version: () -> untyped | ||
|
||
def self?.patch: () -> untyped | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module Datadog | ||
module CI | ||
module Contrib | ||
module Minitest | ||
module TestHelper | ||
def before_setup: () -> (nil | untyped) | ||
|
||
def after_teardown: () -> untyped | ||
|
||
private | ||
|
||
def configuration: () -> untyped | ||
end | ||
end | ||
end | ||
end | ||
end |