Class: Smartest::ExecutionContext
- Inherits:
-
Object
- Object
- Smartest::ExecutionContext
- Includes:
- Expectations, Matchers
- Defined in:
- lib/smartest/execution_context.rb
Instance Method Summary collapse
-
#initialize(run_state: TestRunState.new) ⇒ ExecutionContext
constructor
A new instance of ExecutionContext.
Methods included from Matchers
#be_a, #be_an, #be_nil, #change, #contain_exactly, #end_with, #eq, #include, #match, #match_array, #raise_error, #start_with
Methods included from Expectations
Constructor Details
#initialize(run_state: TestRunState.new) ⇒ ExecutionContext
Returns a new instance of ExecutionContext.
8 9 10 |
# File 'lib/smartest/execution_context.rb', line 8 def initialize(run_state: TestRunState.new) @run_state = run_state end |