More Test Kitchen support and examples


#1

Ohai Chefs!

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.


Opscode, Inc
Joshua Timberman, Technical Community Manager
IRC, Skype, Twitter, Github: jtimberman


#2

Thank you,

I’d love a test-kitchen tutorial/startup too.


Regards,
Alfredo Palhares


#3

On Oct 20, 2012, at 8:36 AM, Alfredo Palhares masterkorp@masterkorp.net wrote:

I’d love a test-kitchen tutorial/startup too.

After the Chef Summit next week, I plan to put together a screencast taking one of the simpler cookbooks through a similar process.


Opscode, Inc
Joshua Timberman, Technical Community Manager
IRC, Skype, Twitter, Github: jtimberman


#4

This would be awesome, thanks Justin !

-John Dyer
Voxeo Labs
m. +1.407.474.0214
e.mail/sip/xmpp: jdyer@voxeo.com

Sent from mobile

On Oct 20, 2012, at 1:34 PM, Joshua Timberman joshua@opscode.com wrote:

On Oct 20, 2012, at 8:36 AM, Alfredo Palhares masterkorp@masterkorp.net wrote:

I’d love a test-kitchen tutorial/startup too.

After the Chef Summit next week, I plan to put together a screencast taking one of the simpler cookbooks through a similar process.


Opscode, Inc
Joshua Timberman, Technical Community Manager
IRC, Skype, Twitter, Github: jtimberman


#5

Err, I mean Joshua. Sorry :slight_smile:

-John Dyer
Voxeo Labs
m. +1.407.474.0214
e.mail/sip/xmpp: jdyer@voxeo.com

Sent from mobile

On Oct 20, 2012, at 1:34 PM, Joshua Timberman joshua@opscode.com wrote:

On Oct 20, 2012, at 8:36 AM, Alfredo Palhares masterkorp@masterkorp.net wrote:

I’d love a test-kitchen tutorial/startup too.

After the Chef Summit next week, I plan to put together a screencast taking one of the simpler cookbooks through a similar process.


Opscode, Inc
Joshua Timberman, Technical Community Manager
IRC, Skype, Twitter, Github: jtimberman


#6

On Sat, Oct 20, 2012 at 6:34 PM, Joshua Timberman joshua@opscode.com wrote:

On Oct 20, 2012, at 8:36 AM, Alfredo Palhares masterkorp@masterkorp.net wrote:

I’d love a test-kitchen tutorial/startup too.

After the Chef Summit next week, I plan to put together a screencast taking one of the simpler cookbooks through a similar process.

I’d like to add a +1 for this - it would be very helpful!


Andy Gale
http://andy-gale.com
http://twitter.com/andygale
https://alpha.app.net/andygale