Class: Smartest::ExecutionContext

Inherits:
Object
  • Object
show all
Includes:
Expectations, Matchers
Defined in:
lib/smartest/execution_context.rb

Instance Method Summary collapse

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

#expect

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