Sha256: 89a5c31c10ddfa5f237b63793635de1ae978657c40f5b4155f9bd018e65b227f

Contents?: true

Size: 509 Bytes

Versions: 6

Compression:

Stored size: 509 Bytes

Contents

class MinReporter < BaseReporter

  defm on_spec_failure(meta, err, stats)
    name = meta.get_sentence()
    context = meta.get_context()
    self.writer.writeln(self.to_red("#{context} ##{name} - #{err.get_message()}"))
    self.print_stacktrace(err)
  end

  defm on_spec_error(meta, err, stats)
    self.on_spec_failure(meta, err, stats)
  end

  defm write_epilogue_separator
    self.flush_log_buffer()
    super
  end

  defm write_stacktrace_line(line)
    self.writer.writeln("  #{line}")
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
speckle-0.2.0 lib/reporters/min_reporter.riml
speckle-0.1.31 lib/reporters/min_reporter.riml
speckle-0.1.30 lib/reporters/min_reporter.riml
speckle-0.1.29 lib/reporters/min_reporter.riml
speckle-0.1.28 lib/reporters/min_reporter.riml
speckle-0.1.27 lib/reporters/min_reporter.riml