Include module in all MiniTest tests like in RSpec
In RSpec I could create helper modules in /spec/support/... module MyHelpers def help1 puts "hi" end end and include it in every spec like this: RSpec.configure do |config| config.include(MyHelpers) end and use it in my tests like this: describe User do it "does something" do help1 end end How can I include a module into all MiniTest tests without repeating myself in every test? minitest does not provide a way to include or extend a module into every test class in the same way RSpec does. Your best bet is going to be to re-open the test case class (differs, depending on the minitest version