class RSpec::Core::Formatters::BaseTextFormatter

We enhance rspec's backtrace so it will also show us the stack trace of the simulation, if available. These monkey patches are broken up into three different functions so you can easily customize any of them without messing up the other ones.

Public Instance Methods

dump_backtrace(example) click to toggle source
# File lib/rpicsim/rspec/sim_diagnostics.rb, line 77
def dump_backtrace(example)
  dump_backtrace_without_sim_diagnostics(example)
  RPicSim::RSpec::SimDiagnostics.write_diagnostics(example, output, long_padding)
end
dump_backtrace_without_sim_diagnostics(example)
Alias for: dump_backtrace