官术网_书友最值得收藏!

Summary

RSpec with ChefSpec extensions provides us with incredibly powerful tools to test our cookbooks and recipes. You have seen how to develop basic ChefSpec tests for your recipes, organize your spec tests inside of your cookbook, execute and analyze the output of your spec tests, and simulate the execution of your recipes across multiple platforms.

In future chapters, we will learn some more advanced testing mechanisms such as mocking and stubbing external services such as search and data bags. Adding testing to your development cycle allows you to feel confident in the correctness of your recipes, which is a critical step towards automating the management of your infrastructure.

Now, let's take a look at how we will build a cookbook to complement a web application so that we can see the full cycle of developing an application and deploying it using Chef.

主站蜘蛛池模板: 阿克| 依安县| 循化| 芜湖市| 财经| 马龙县| 开封市| 瓦房店市| 广汉市| 长岭县| 郴州市| 酒泉市| 民乐县| 西昌市| 濉溪县| 日喀则市| 桐乡市| 融水| 铜陵市| 河曲县| 栖霞市| 台前县| 南康市| 蚌埠市| 辽源市| 石首市| 金川县| 楚雄市| 宝应县| 麟游县| 华池县| 镇坪县| 桐乡市| 湘西| 肇庆市| 大英县| 津市市| 庆云县| 杭州市| 剑河县| 张家港市|