Sha256: 6a128e3c32bd7079a59ed7bda37c975bb382aef3fc977e3fc7c4f811a4130606

Contents?: true

Size: 270 Bytes

Versions: 3

Compression:

Stored size: 270 Bytes

Contents

module Minitest
  def self.plugin_workarea_init(options)
    if ENV['CI'].to_s =~ /true/
      path = ENV['JUNIT_PATH'] || 'test/reports'
      FileUtils.mkdir_p(path)

      options[:junit] = true
      options[:junit_filename] = "#{path}/report.xml"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-core-3.4.14 lib/minitest/workarea_plugin.rb
workarea-core-3.4.13 lib/minitest/workarea_plugin.rb
workarea-core-3.4.12 lib/minitest/workarea_plugin.rb