module Minitest

Public Class Methods

plugin_robottelo_reporter_init(options) click to toggle source
# File lib/minitest/robottelo_reporter_plugin.rb, line 10
def self.plugin_robottelo_reporter_init(options)
  return unless options[:robottelo_reporter]
  require 'robottelo/reporter'
  self.reporter << Robottelo::Reporter::Runner.new
end
plugin_robottelo_reporter_options(opts, options) click to toggle source
# File lib/minitest/robottelo_reporter_plugin.rb, line 4
def self.plugin_robottelo_reporter_options(opts, options)
  opts.on '-p', '--robottelo-reporter', 'Create Robottelo xml report file' do
    options[:robottelo_reporter] = true
  end
end