How to Ensure Continuous Delivery
Explore essential techniques to ensure continuous delivery in software projects. Learn how merging small commits, refactoring code, removing dead code, and maintaining fast feedback loops help save time and resources. Understand best practices such as leaving broken tests for clarity and making daily improvements to enhance productivity and software reliability.
Overview
In this lesson, we'll study some practices that can support continuous delivery. These steps can prove beneficial when it comes to saving time and preventing the wasting of resources.
Merge small commits
For this course, we prefer trunk-based development, where each developer does their part and merges their code into a single branch. This is the only route to continuous delivery. It requires a trustworthy team, feature flags, and a healthy suite of tests. Code should always be developed in small steps backed by tests. Don’t be afraid to write more test code than implementation.
Refactor ruthlessly
Poorly named code can slow you down the next time you're ...