Sha256: 8ac2e0142146d5d6e8958844f27e33cb0f0e4d29cd6106c25213072d2aac5efe
Contents?: true
Size: 478 Bytes
Versions: 24
Compression:
Stored size: 478 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) ::Logging.logger['spec'].write(yellow("\n=====<([ #{example.full_description} ])>=====\n")) super end end
Version data entries
24 entries across 24 versions & 2 rubygems