Curious if there’s a best practice for testing HWRPs?
The jenkins cookbook is a great example of using HWRPs. I’m wondering how to properly write tests for those. A couple of options came to mind:
1) Write custom chefspec matchers and test with ChefSpec.
2) Test resource/provider methods with RSpec.
Thanks,
Curtis
|
Archive powered by MHonArc 2.6.16.