title: How to inject global parameters into Minitest tests?
body: <p>This is my test:</p>
  
  <pre><code>require 'minitest/autorun'
  class Foo &lt; Minitest::Test
    def test_it
      // here
    end
  end
  </code></pre>
  
  <p>This is my <code>Rakefile</code>:</p>
  
  <pre><code>Rake::TestTask.new(:test) do |test|
    test.libs &lt;&lt; 'lib' &lt;&lt; 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = false
    test.warning = false
  end
  </code></pre>
  
  <p>I want to have an ability to pass some global configuration parameter from <code>Rakefile</code> to all unit tests. The only way I found so far is through a global variable from <code>test__helper.rb</code>. But Rubocop complains about global variables and I agree with it. Are there any Minitest-friendly solutions?</p>