Sha256: 5c896879a2e56695c58c9a4e9812bc4e7edd15422426936f1ba8defbfb8f648d
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true require_relative "../integration" require_relative "configuration/settings" require_relative "patcher" module Datadog module CI module Contrib module Simplecov # Description of Simplecov integration class Integration include Datadog::CI::Contrib::Integration MINIMUM_VERSION = Gem::Version.new("0.18.0") register_as :simplecov def self.version Gem.loaded_specs["simplecov"]&.version end def self.loaded? !defined?(::SimpleCov).nil? end def self.compatible? super && version >= MINIMUM_VERSION end # additional instrumentations for test helpers are auto instrumented on test session start def auto_instrument? true end def new_configuration Configuration::Settings.new end def patcher Patcher end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems