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.13.20 test/activesupport6/test_common.rb
oj-3.13.19 test/activesupport6/test_common.rb
oj-3.13.18 test/activesupport6/test_common.rb
oj-3.13.17 test/activesupport6/test_common.rb
oj-3.13.16 test/activesupport6/test_common.rb
oj-3.13.15 test/activesupport6/test_common.rb
oj-3.13.14 test/activesupport6/test_common.rb
oj-3.13.13 test/activesupport6/test_common.rb
oj-3.13.12 test/activesupport6/test_common.rb
oj-3.13.11 test/activesupport6/test_common.rb
oj-3.13.10 test/activesupport6/test_common.rb
oj-3.13.9 test/activesupport6/test_common.rb
oj-3.13.8 test/activesupport6/test_common.rb
oj-3.13.7 test/activesupport6/test_common.rb
oj-3.13.6 test/activesupport6/test_common.rb
oj-3.13.5 test/activesupport6/test_common.rb
oj-3.13.4 test/activesupport6/test_common.rb
oj-3.13.3 test/activesupport6/test_common.rb
oj-3.13.2 test/activesupport6/test_common.rb
oj-3.13.1 test/activesupport6/test_common.rb