Sha256: 35d510c3d331f6adf515307f3beb8c8ff5a4aa82e0cae25f1d1ec77bace58931
Contents?: true
Size: 1.28 KB
Versions: 5
Compression:
Stored size: 1.28 KB
Contents
# frozen_string_literal: true require_relative "../ext" require_relative "../../settings" require_relative "../../../utils/configuration" module Datadog module CI module Contrib module Minitest module Configuration # Custom settings for the Minitest integration # @public_api class Settings < Datadog::CI::Contrib::Settings option :enabled do |o| o.type :bool o.env Ext::ENV_ENABLED o.default true end option :service_name do |o| o.type :string o.default do Utils::Configuration.fetch_service_name(Ext::DEFAULT_SERVICE_NAME) end end # @deprecated Will be removed in 1.0 option :operation_name do |o| o.type :string o.env Ext::ENV_OPERATION_NAME o.default Ext::OPERATION_NAME o.after_set do |value| if value && value != Ext::OPERATION_NAME Datadog::Core.log_deprecation do "The operation_name setting has no effect and will be removed in 1.0" end end end end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems