Home / Companies / PagerDuty / Blog / Post Details
Content Deep Dive

Chef Testing at PagerDuty

Blog post from PagerDuty

Post Details
Company
Date Published
Author
Ranjib Dey
Word Count
898
Language
English
Hacker News Points
-
Summary

PagerDuty utilizes Chef for automating its computing infrastructure and emphasizes the importance of testing Chef code before deployment to maintain a stable environment. The testing process involves several sequential strategies, including semantic testing with Foodcritic to catch mistakes early, unit testing with ChefSpec for robust coverage of recipes, and functional testing that simulates real production environments using Linux containers. Integration testing is conducted in two main environments to ensure code compatibility with application features, while "Failure Fridays" are used to intentionally inject failures for resilience testing. These automated testing methods enable PagerDuty to continuously deliver high-quality code, reducing time to market and ensuring a dependable infrastructure for its customers.