This document outlines the evolution and implementation of test-driven infrastructure at GoodData using Puppet, Docker, Test Kitchen, and ServerSpec. It emphasizes the challenges of managing a complex distributed system, the importance of tracking changes through Puppet code, and the introduction of automated testing pipelines to improve quality and efficiency. Key components discussed include Puppet self-checks, Test Kitchen orchestration, Docker utilization for testing environments, and the use of ServerSpec for configuration verification.