You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experimenting with replacing some serverspec test kitchen suites with inspec tests and overall it's great. Very fast and I love the small dsl improvements from inspec over serverspec.
Unfortunately the displayed output is not quite useful enough to include them as the default in our CI process yet. This seems related to #812 so perhaps it's a configuration I'm missing, fixed in a future version or just my ignorance.
✔ File /tmp/home_test/.ssh/id_rsa should be file; File /tmp/ho...
but I would expect it to instead display one per line like:
✔ File /tmp/home_test/.ssh/id_rsa should be file
✔ File /tmp/home_test/.ssh/id_rsa size should > 0
✔ File /tmp/home_test/.ssh/id_rsa mode should cmp "0600"
I can duplicate the describe block many times, using one matcher per describe block to get the desired output, but this seems like needless duplication.
InSpec and Platform Version
Running on Windows 10, Powershell 5
inspec 0.29.0 from the chef-dk 17.17
kitchen 1.11.1, kitchen-vagrant (0.20.0), kitchen-inspec (0.15.0)
Testing in an ubuntu 14.04 vm
@webframp Try to update to the latest InSpec release 0.33.0 since we improved the reporter a lot over the last weeks. Let us know if the issue persists
Description
I'm experimenting with replacing some serverspec test kitchen suites with inspec tests and overall it's great. Very fast and I love the small dsl improvements from inspec over serverspec.
Unfortunately the displayed output is not quite useful enough to include them as the default in our CI process yet. This seems related to #812 so perhaps it's a configuration I'm missing, fixed in a future version or just my ignorance.
For a simple spec such as:
the output is condensed to a single line:
but I would expect it to instead display one per line like:
I can duplicate the describe block many times, using one matcher per describe block to get the desired output, but this seems like needless duplication.
InSpec and Platform Version
Running on Windows 10, Powershell 5
inspec
0.29.0
from the chef-dk17.17
kitchen 1.11.1, kitchen-vagrant (0.20.0), kitchen-inspec (0.15.0)
Testing in an ubuntu 14.04 vm
Replication Case
Simple test recipe:
matching spec (condensed):
spec (expanded):
Possible Solutions
For now I've kept a single matcher per describe block which provides the output desired, but needlessly duplicates describe blocks
Stacktrace
none
The text was updated successfully, but these errors were encountered: