Sha256: d63d23e080210cb44e518c6fb9662cf2239419a8bddeb310b28d0249c1033bab
Contents?: true
Size: 1.09 KB
Versions: 3
Compression:
Stored size: 1.09 KB
Contents
require 'ddtrace/contrib/integration' require 'datadog/ci/contrib/cucumber/configuration/settings' require 'datadog/ci/contrib/cucumber/patcher' module Datadog module CI module Contrib module Cucumber # Description of Cucumber integration class Integration include Datadog::Contrib::Integration MINIMUM_VERSION = Gem::Version.new('3.0.0') register_as :cucumber, auto_patch: true def self.version Gem.loaded_specs['cucumber'] \ && Gem.loaded_specs['cucumber'].version end def self.loaded? !defined?(::Cucumber).nil? && !defined?(::Cucumber::Runtime).nil? end def self.compatible? super && version >= MINIMUM_VERSION end # test environments should not auto instrument test libraries def auto_instrument? false end def default_configuration Configuration::Settings.new end def patcher Patcher end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-0.51.1 | lib/datadog/ci/contrib/cucumber/integration.rb |
ddtrace-0.51.0 | lib/datadog/ci/contrib/cucumber/integration.rb |
ddtrace-0.50.0 | lib/datadog/ci/contrib/cucumber/integration.rb |