Module: Minitest
- Defined in:
- lib/minitest/workarea_plugin.rb
Class Method Summary collapse
Class Method Details
.plugin_workarea_init(options) ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'lib/minitest/workarea_plugin.rb', line 2 def self.plugin_workarea_init() if ENV['CI'].to_s =~ /true/ path = ENV['JUNIT_PATH'] || 'test/reports' FileUtils.mkdir_p(path) [:junit] = true [:junit_filename] = "#{path}/report.xml" end end |