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

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.

主站蜘蛛池模板: 定州市| 嵩明县| 太保市| 建水县| 敖汉旗| 平武县| 札达县| 祥云县| 岚皋县| 怀仁县| 长泰县| 鄢陵县| 谷城县| 张家界市| 孟村| 米脂县| 灵璧县| 交口县| 文登市| 南川市| 雅安市| 雅安市| 平顶山市| 吐鲁番市| 石屏县| 芦溪县| 定边县| 大兴区| 璧山县| 唐海县| 宁强县| 绥江县| 日照市| 金沙县| 黄浦区| 筠连县| 永吉县| 绵竹市| 山西省| 开封市| 偃师市|