Sha256: 6bf3cd05e1e2760032f00b3a8c2f41ee9ccb2da056dccd8bd40a1977f5858095
Contents?: true
Size: 501 Bytes
Versions: 22
Compression:
Stored size: 501 Bytes
Contents
require 'rspec/core/formatters/progress_formatter' module Motionbox # 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) ZK.logger.info(yellow("\n=====<([ #{example.full_description} ])>=====\n")) super end end end
Version data entries
22 entries across 22 versions & 1 rubygems