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

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.

主站蜘蛛池模板: 凤山县| 乌兰察布市| 天祝| 湘阴县| 抚顺县| 泾川县| 鲁山县| 海伦市| 美姑县| 舞钢市| 怀宁县| 北辰区| 广安市| 青川县| 高邑县| 辰溪县| 台中市| 闸北区| 江口县| 横山县| 吕梁市| 阜新| 阜新市| 集贤县| 平潭县| 黄龙县| 白山市| 廊坊市| 瑞金市| 佛冈县| 若羌县| 乌兰浩特市| 宁津县| 长葛市| 海丰县| 文登市| 南漳县| 威海市| 界首市| 额尔古纳市| 和林格尔县|