Sha256: 56f48e099b989a4b5c70cbf8ea94aaae7887e9dce22aa379b2d5353e21b252c8
Contents?: true
Size: 1.02 KB
Versions: 16
Compression:
Stored size: 1.02 KB
Contents
# frozen_string_literal: true require_relative "../integration" require_relative "configuration/settings" require_relative "patcher" module Datadog module CI module Contrib module Cucumber # Description of Cucumber integration class Integration include Datadog::CI::Contrib::Integration MINIMUM_VERSION = Gem::Version.new("3.0.0") register_as :cucumber def self.version 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 new_configuration Configuration::Settings.new end def patcher Patcher end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems