Don't print test suite information to STDERR
The formatters meant for human consumption (like pretty
and our
debug
) will make use of things written to STDOUT
and write it at an
appropriate place, unlike STDERR
which will only be printed to the
terminal => this info doesn’t end up in files when we log to them. We
should eliminate all instances where we print to STDERR
, perhaps using
something like:
require 'cucumber/formatter/console'
def puts_info(m = "")
# This trick allows us to use a module's (~private) method on a one-off basis.
puts Class.new.extend(Cucumber::Formatter::Console).format_string(m, :white)
end
Feature Branch: test/10151-organize-artifacts
Related issues
-
Blocked by #10151 (closed)
Original created by @anonym on 10342 (Redmine)