The Joy of Automating - (5) Refactoring - Test Suite: ChefSpec and RSpec

preview_player
Показать описание

In this episode we focus on refactoring the test suite defined for a cookbook. Using a little Ruby and a lot of RSpec's powerful features we are able to make a clearer and concise test suite.

The Joy of Automating is an hour long instructional show hosted by Franklin Webber. In each episode, Franklin will build a cookbook or add features to an existing cookbook while he will shares techniques on workflow, testing, and debugging. The focus is on honing ones skill through practice and repetition while exploring the richness of code.
Рекомендации по теме
Комментарии
Автор

This is just incredible. I will definitely use the shared examples and context, group alias I will have to play with a little longer. Would there be any value in indexing the packages from hash based on OS, or even read from YAML?

joaquink