Brussels / 2 & 3 February 2013


Using Ruby Testing Frameworks to bring sanity to your infrastructure

In this presentation I will give an overview of Ruby testing frameworks and how they can be used to test infrastructure code, such as Chef cookbooks, and test the infrastructure itself.

Testing Infrastructure Code - Quick run-down on libraries rspec, minitest, cucumber - Platform for testing modules or cookbooks is usually Vagrant but not necessarily - Is Cucumber for me? - why slow tests are a problem - testing quick and slow, quick tests w/ chefspec and slow integration tests

using minitest or cucumber
  • [Time permitting] Using RubyDNS and Sinatra to mock part of a Service-Oriented Architecture

Testing Real and Almost real Infrastructure - Using rspec and Faraday to test HTTP services - Ideally would to like to show how u can use bunny to test your messaging infrastructure


Bryan Berry