Bug #10342

Don't print test suite information to STDERR

Added by anonym 2015-10-06 06:09:03 . Updated 2015-11-03 11:32:45 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
2015-10-06
Due date:
% Done:

100%

Feature Branch:
test/10151-organize-artifacts
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

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

Subtasks


Related issues

Blocked by Tails - Feature #10151: Organize automated test suite artifacts in per-run directories Resolved 2015-09-02

History

#1 Updated by anonym 2015-10-06 08:45:44

  • Status changed from Confirmed to In Progress

Applied in changeset commit:1284f3adba537c42c1fac85d6a7abc2c7dde715b.

#2 Updated by anonym 2015-10-06 08:47:10

  • Assignee changed from anonym to kytv
  • % Done changed from 0 to 50
  • QA Check set to Ready for QA
  • Feature Branch set to test/10151-organize-artifacts

I squeezed this work into Feature #10151, which is dealing with slightly related stuff.

#3 Updated by anonym 2015-10-15 07:20:11

  • related to Feature #10151: Organize automated test suite artifacts in per-run directories added

#4 Updated by kytv 2015-10-26 03:22:29

Code review passes. Testing…

#5 Updated by kytv 2015-10-26 08:19:26

  • Assignee changed from kytv to intrigeri

Code review and testing passed.

#6 Updated by intrigeri 2015-10-27 14:55:30

  • related to deleted (Feature #10151: Organize automated test suite artifacts in per-run directories)

#7 Updated by intrigeri 2015-10-27 14:55:41

  • blocked by Feature #10151: Organize automated test suite artifacts in per-run directories added

#8 Updated by intrigeri 2015-10-27 15:28:42

  • Assignee changed from intrigeri to anonym
  • QA Check changed from Ready for QA to Pass

Code review passes, but blocked by Feature #10151.

#9 Updated by intrigeri 2015-11-01 01:25:10

  • Status changed from In Progress to Fix committed
  • % Done changed from 50 to 100

Applied in changeset commit:cf79bcb8080503f188fa8f82ee9a795396a4fdc2.

#10 Updated by intrigeri 2015-11-01 01:26:47

  • Assignee deleted (anonym)

#11 Updated by anonym 2015-11-03 11:32:45

  • Status changed from Fix committed to Resolved