Sha256: 059c00e0342ca22c94184fd8ffa01da0cfde6078009ff513d7b3fccaa375fbc4
Contents?: true
Size: 473 Bytes
Versions: 2
Compression:
Stored size: 473 Bytes
Contents
require 'rspec/core/formatters/progress_formatter' # essentially a monkey-patch to the ProgressBarFormatter, outputs # '== #{example_proxy.description} ==' in the logs before each test. makes it # easier to match up tests with the SQL they produce class LoggingProgressBarFormatter < RSpec::Core::Formatters::ProgressFormatter def example_started(example) SpecGlobalLogger.logger << yellow("\n=====<([ #{example.full_description} ])>=====\n") super end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zk-1.10.0 | spec/logging_progress_bar_formatter.rb |
zk-1.9.6 | spec/logging_progress_bar_formatter.rb |