class Datadog::CI::Contrib::RSpec::Integration
Description of RSpec
integration
Constants
- MINIMUM_VERSION
Public Class Methods
compatible?()
click to toggle source
Calls superclass method
# File lib/datadog/ci/contrib/rspec/integration.rb, line 29 def self.compatible? super && version >= MINIMUM_VERSION end
loaded?()
click to toggle source
# File lib/datadog/ci/contrib/rspec/integration.rb, line 24 def self.loaded? !defined?(::RSpec).nil? && !defined?(::RSpec::Core).nil? && \ !defined?(::RSpec::Core::Example).nil? end
version()
click to toggle source
# File lib/datadog/ci/contrib/rspec/integration.rb, line 19 def self.version Gem.loaded_specs['rspec'] \ && Gem.loaded_specs['rspec'].version end
Public Instance Methods
auto_instrument?()
click to toggle source
test environments should not auto instrument test libraries
# File lib/datadog/ci/contrib/rspec/integration.rb, line 34 def auto_instrument? false end
default_configuration()
click to toggle source
# File lib/datadog/ci/contrib/rspec/integration.rb, line 38 def default_configuration Configuration::Settings.new end
patcher()
click to toggle source
# File lib/datadog/ci/contrib/rspec/integration.rb, line 42 def patcher Patcher end