Closed chris-rock closed 7 years ago
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.
@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
@burtlo kitchen-inspec detects if other frameworks are used with busser. In that case InSpec expects to find its test in the 'inspec` subdirectory.
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.