Method: InspecRspecJson#start

Defined in:
lib/inspec/rspec_json_formatter.rb

#start(_notification) ⇒ Object

Called after all examples have been collected but before rspec test execution has begun.



113
114
115
116
117
# File 'lib/inspec/rspec_json_formatter.rb', line 113

def start(_notification)
  # Note that the default profile may have no name - therefore
  # the hash may have a valid nil => entry.
  @profiles_info = @profiles.map(&:info!).map(&:dup)
end