Module: Bparity::Recording::MinitestDriver::TestHook

Defined in:
lib/bparity/recording.rb

Instance Method Summary collapse

Instance Method Details

#runObject



278
279
280
281
282
283
284
285
# File 'lib/bparity/recording.rb', line 278

def run
  location = method(name).source_location&.join(":")
  Context.provenance = { "example_id" => "#{self.class}##{name}", "description" => name,
                         "location" => location }
  super
ensure
  Context.provenance = nil
end