neillturner / kitchen-verifier-serverspec

A Test Kitchen Serverspec Verifer without having to transit the Busser layer
Other
39 stars 19 forks source link

default_pattern not compatible with busser-serverspec? #38

Open chuhn opened 4 years ago

chuhn commented 4 years ago

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