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

default_pattern not compatible with busser-serverspec? #38

Open
chuhn opened this issue Sep 24, 2019 · 0 comments
Open

default_pattern not compatible with busser-serverspec? #38

chuhn opened this issue Sep 24, 2019 · 0 comments

Comments

@chuhn
Copy link

chuhn commented Sep 24, 2019

Hi,

We try to use kitchen-verifier-serverspec as a drop-in replacement for busser-serverspec.
In my .kitchen.yml I have:

verifier:
  name: serverspec
  default_pattern: true

Our test patterns are at test/integration/_suite_/serverspec/localhost/*_spec.rb as described in
https://github.com/test-kitchen/busser-serverspec/blob/master/README.md#Usage.
They get copied to /tmp/verifier/suites/serverspec/localhost but kitchen-verifier-serverspec looks into the wrong folder:

   Transferring files to <instance>
   Running Serverspec
   Using default pattern /tmp/verifier/suites/serverspec/*_spec.rb
   ---> RSPEC_CMD variable is: /usr/bin/rspec
   No examples found.
   
   Finished in 0.00033 seconds (files took 0.05918 seconds to load)
   0 examples, 0 failures

Apparently I missed something here, but what?

Kind regards,
Christopher

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

1 participant