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

kitchen-inspec breaks existing file pattern #11

Closed
chris-rock opened this issue Nov 16, 2015 · 3 comments
Closed

kitchen-inspec breaks existing file pattern #11

chris-rock opened this issue Nov 16, 2015 · 3 comments

Comments

@chris-rock
Copy link
Collaborator

As reported by @burtlo: With ​_bats_​ we define a directory within the ./test/integration directory. With ​_serverspec_​ we define a similar directory. With ​_inspec_​ we change the ​_verifier_​ in the .kitchen.yml and its convention (according to this one example: https://github.com/chef/inspec/tree/master/examples/test-kitchen/test/integration/default) uses the entire default test suite directory instead of sub-directory.

@burtlo
Copy link

burtlo commented Nov 16, 2015

chef-dk 0.10.0 generates a test/integration/default/serverspec/default_spec.rb this requires a cookbook author to remove those files as they are automatically picked up by inspec and fails on execution.

@chris-rock
Copy link
Collaborator Author

@burtlo From my perspective, inspec should pick up serverspec and inspec directory. The solution should be to understand the missing pieces for serverspec and make this running our of the box

@chris-rock
Copy link
Collaborator Author

@burtlo kitchen-inspec detects if other frameworks are used with busser. In that case InSpec expects to find its test in the 'inspec` subdirectory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants