-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Package custom matchers for testing using ChefSpec #329
Comments
You should have matchers automatically since we use the Poise library is that not the case? |
Oh didn't know about that. Let me verify! |
You are right! Poise has provided matchers for resources. I wasn't looking in the right place. I just needed the following matchers
|
Closing this issue, as matchers are already available. Thanks! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Firstly, let me thank @johnbellone for creating this cookbook and making it open source.
I have a small proposal.
It will be nice to have matchers for testing resources in this cookbook, so that developers can write tests around it.
https://github.com/sethvargo/chefspec#packaging-custom-matchers
If we provide a matcher like the following,
then developers will be able to write tests like the following
If you agree, with this proposal, I don't mind raising a pull-request for this
The text was updated successfully, but these errors were encountered: