{"id":1356,"date":"2010-03-27T17:16:38","date_gmt":"2010-03-27T16:16:38","guid":{"rendered":"http:\/\/www.devco.net\/?p=1356"},"modified":"2010-08-17T12:14:36","modified_gmt":"2010-08-17T11:14:36","slug":"infrastructure_testing_with_mcollective_and_cucumber","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2010\/03\/27\/infrastructure_testing_with_mcollective_and_cucumber.php","title":{"rendered":"Infrastructure testing with MCollective and Cucumber"},"content":{"rendered":"

Some time ago I showed some sample code I had for driving MCollective with Cucumber<\/a>. Today I’ll show how I did that with SimpleRPC<\/a>.<\/p>\n

Cucumber<\/a> is a testing framework, it might not be the perfect fit for systems scripting but you can achieve a lot if you bend it a bit to your will. Ultimately I am building up to using it for testing, but we need to start with how to drive MCollective first.<\/p>\n

The basic idea is that you wrote a SimpleRPC Agent<\/a> for your needs like the one I showed here<\/a>. The specific agent has a number of tasks it can perform:<\/p>\n