vendredi 10 août 2018

Running specific puppet tests using kitchen

I am using kitchen to run inspec tests for the puppet repository. I am able to apply the entire puppet catalogue ina vagrant box and then run tests for it. But what if I want to run a specific module in the puppet code base alone? I don't want to apply the entire catalogue every single time.

Can kitchen apply specific modules instead of the entire catalogue? And then test for those modules as well?

Something like how in rspec I can specify a test case I want to run.

kitchen converge --path-to-file
kitchen verify --path-to-test-file

Aucun commentaire:

Enregistrer un commentaire