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

Feature Request: verbose output should show all tests #150

Closed
SpreetailHurley opened this issue Jul 16, 2019 · 3 comments
Closed

Feature Request: verbose output should show all tests #150

SpreetailHurley opened this issue Jul 16, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@SpreetailHurley
Copy link

During testing (e.g. new templates, new tests, etc.) I'd like to be able to pass verbose to see all of the possible tests and if / why they were skipped.

Example:
[OK] Deployment has host PodAntiAffinity * Skipped Skipped because the deployment has less than 2 replicas

In specific this came up when implementing a new test that was not being applied due to the apiVersion configured in the template causing the section of the template to be skipped. A message such as:
[OK] New Test Here * Skipped Skipped because the apiVersion is not in: (list of matching versions)

Another possible enhancement would be to implement a custom "skipped" status, or similar, instead of "OK"

@zegl
Copy link
Owner

zegl commented Jul 16, 2019

This is a great suggestion! 👍

Let me know if you would like to work on it.

@zegl zegl added the enhancement New feature or request label Jul 16, 2019
@SpreetailHurley
Copy link
Author

Hi Gustav,

I'd be happy to pick this up; I'm in the process of adding some new tests to our pipeline to extend the functionality of kube-score so this should dovetail into that work somewhere.

Thanks.

@zegl
Copy link
Owner

zegl commented Apr 12, 2020

This is fixed as of #167. Closing.

@zegl zegl closed this as completed Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants