Created
May 15, 2012 23:02
-
-
Save miah/2705827 to your computer and use it in GitHub Desktop.
BDD Cookbook Writing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # After approximately 3 hours of discussion we have come up with the following: | |
| - Integration testing with Minitest | |
| - Functional testing with ChefSpec | |
| - Because Minitest runs after convergence, it becomes time consuming to test during cookbook development. | |
| - Testing with ChefSpec during development helps ensure your cookbook meets functional requirements. |
In addition - would be nice to have a standard for the cookbook testing, so that cookbooks can be added to a CI tool, building confidence in the community cookbooks by regular testing on multiple platforms.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Possible general concept of cookbooks generating expectations for testing during their run - whether in an existing language like RSpec/Cucumber/Minitest, or a DSL that covers the applicable concepts, including though not limited to:
The output of this could be pretty easily pulled into a monitoring tool like Cucumber-nagios/etc, leading to easier test-driven infrastructure dev.