module Beaker::DSL::Assertions

Any custom assertions for Test::Unit or minitest live here. You may include them in your own testing if you wish, override them, or re-open the class to register new ones for use within {Beaker::TestCase}.

You may use any test/unit assertion within your assertion. The assertion below assumes access to the method result which will contain the output (according to the interface defined in {Beaker::Result}). When writing your own, to make them more portable and less brittle it is recommended that you pass the result or direct object for asserting against into your assertion.