In case you haven’t yet seen it, we have a blog post that describes adding and embellishing tests in the Opscode apache2 cookbook.
The erlang and rabbitmq cookbooks are now updated with test-kitchen support. If you’re looking for more examples of how to approach adding minitest-chef tests to your cookbooks, these two should be very helpful. While the tests are in two places - the cookbook’s files directory and the cookbook’s “test” cookbook files directory, the reason for this is because of how minitest-chef-handler determines whether to run tests.
Several folks are interested in talking more about cookbook testing at the Chef Summit next week. I’m excited for the summit itself and this discussion.
Finally, if you haven’t yet taken the node attribute symbols vs strings vs methods survey, please do. It should take less than 20 seconds.
Joshua Timberman, Technical Community Manager
IRC, Skype, Twitter, Github: jtimberman