module Beaker::DSL::Outcomes

This module includes dsl helpers for setting the state of a test case. They do not need inclusion if using third party test runner. The Exception classes that they raise however should be defined as other DSL helpers will raise them as needed. See individual DSL modules for their specific dependencies. A class that mixes in this module must have a method logger which will yield an object that responds to notify and warn. NOTE: the interface to logger may change shortly and {Beaker::Logger} should be consulted for the appropriate interface.

Simply these methods log a message and raise the appropriate Exception The exceptions are are caught by {Beaker::TestCase} and are designed to allow some degree of freedom from the individual third party test runners that could be used.