Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve 'Test Summary" Coloring; especially "0 Failures" being in Red #1222

Closed
polobo opened this issue May 2, 2017 · 2 comments
Closed

Comments

@polobo
Copy link

polobo commented May 2, 2017

The following output, when in color, is alarming. The failures show up as a nice bright red (using bash shell on Windows 10 presently). Might I suggest that "0 failures" be output in grey instead. In a similar fashion a non-zero skipped might warrant something like a cyan output to flag its non-zero presence while leaving the existing grey for '0 skipped'. This later item being less bothersome than seeing red on a test output and having to read the result to realize that it isn't actually a problem.

kitchen verify
(lots of stuff...working...)
Test Summary: 1 successful, 0 failures, 0 skipped

Chef Development Kit Version: 1.3.43
chef-client version: 12.19.36
delivery version: master (dd319aa632c2f550c92a2172b9d1226478fea997)
berks version: 5.6.4
kitchen version: 1.16.0

@smurawski
Copy link
Contributor

@polobo Are you referring the results of an inspec verifier (which I have seen positive results return in red) or the actual results output from Test-Kitchen? Test-Kitchen doesn't necessarily manage the output of the various plugins.

If so, that feedback may be more appropriate for https://github.com/chef/kitchen-inspec or https://github.com/chef/inspec

@polobo
Copy link
Author

polobo commented May 2, 2017

In all probability its an inspec thing. Its just the single "Test Summary: ..." line I listed above.

@polobo polobo closed this as completed May 3, 2017
@test-kitchen test-kitchen locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants