Sha256: 39c2aa5ae87c8036e962d765f92f29089472fdd99153e00c887ce471f9e01ab3

Contents?: true

Size: 497 Bytes

Versions: 73

Compression:

Stored size: 497 Bytes

Contents

# frozen_string_literal: true

if ENV["BUILDKITE"]
  require "minitest/reporters"
  require "fileutils"

  module Minitest
    def self.plugin_rails_ci_junit_format_test_report_for_buildkite_init(*)
      dir = File.join(__dir__, "../test-reports/#{ENV['BUILDKITE_JOB_ID']}")
      reporter << Minitest::Reporters::JUnitReporter.new(dir, false)
      FileUtils.mkdir_p(dir)
    end
  end

  Minitest.load_plugins
  Minitest.extensions.unshift "rails_ci_junit_format_test_report_for_buildkite"
end

Version data entries

73 entries across 73 versions & 3 rubygems

Version Path
oj-3.16.9 test/activesupport6/test_common.rb
oj-3.16.8 test/activesupport6/test_common.rb
oj-3.16.7 test/activesupport6/test_common.rb
oj-3.16.6 test/activesupport6/test_common.rb
oj-3.16.5 test/activesupport6/test_common.rb
oj-3.16.4 test/activesupport6/test_common.rb
oj-3.16.3 test/activesupport6/test_common.rb
oj-3.16.2 test/activesupport6/test_common.rb
oj-3.16.1 test/activesupport6/test_common.rb
oj-3.16.0 test/activesupport6/test_common.rb
oj-3.15.1 test/activesupport6/test_common.rb
oj-3.15.0 test/activesupport6/test_common.rb
oj-3.14.3 test/activesupport6/test_common.rb
devcycle-ruby-server-sdk-2.0.0 vendor/bundle/ruby/3.0.0/gems/oj-3.13.2/test/activesupport6/test_common.rb
oj-3.14.2 test/activesupport6/test_common.rb
oj-3.14.1 test/activesupport6/test_common.rb
oj-3.14.0 test/activesupport6/test_common.rb
oj-3.13.23 test/activesupport6/test_common.rb
oj-3.13.22 test/activesupport6/test_common.rb
oj-3.13.21 test/activesupport6/test_common.rb