Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 437 Bytes

configuring_minitest.md

File metadata and controls

20 lines (14 loc) · 437 Bytes

Configuring Minitest

If you're using Minitest, you'll want to plunk this into a test helper:

class Minitest::Test
  include Mocktail::DSL

  def teardown
    super
    Mocktail.reset
  end
end

Finally, the real work of faking things can begin.

Incorporate Mocktail into your test-driven development workflow.

Leverage Mocktail's metaprogramming essence for other testing utilities.