Test-Driven Development (TDD) & Testing in Production: Real Feedback for Better Software (2026)

In the realm of software development, achieving seamless continuous delivery often involves a delicate balance between test-driven development (TDD) and testing in production. Ola Hast and Asgaut Mjølne Söderbom, in their insightful talk at QCon London, shed light on their approach to continuous delivery with pair programming. They advocate for a unique testing strategy that prioritizes unit and integration tests over end-to-end tests, emphasizing the power of TDD, pair programming, and feature toggles.

Hast and Mjølne Söderbom's team embraces a modular and domain-driven design approach, leveraging good separation of concerns, modularity, abstraction, low coupling, and high cohesion. This methodology ensures that their unit and integration tests are robust and reliable. By eliminating end-to-end tests, they streamline the development process, resulting in high code quality.

The duo's philosophy revolves around testing in production, a bold move that yields valuable insights. They argue that production environments provide the most authentic feedback, free from the limitations of test environments, which often struggle with long supply chains and poor test data. By deploying small changes and features behind toggles, they minimize risks and make it easier to identify, fix, and roll back issues.

Pair programming and mob programming, integrated with TDD, form the core of their development process. They eliminate solo tasks and separate code reviews, fostering collaboration and knowledge sharing. This approach not only enhances code quality but also reduces waste, making the development process more efficient.

Hast and Mjølne Söderbom challenge the conventional notion of TDD as a testing tool. They view it as a design tool, where the code 'talks' to the developers, guiding the design process. Proper tests that enable fast feedback are seen as a positive side effect of this approach.

The key takeaway is the importance of feedback loops in the development process. They emphasize that feedback is essential for navigating and adjusting the direction of the project. By focusing on fast feedback loops, they ensure that issues are addressed promptly, leading to a more resilient and adaptable development process.

In summary, their approach to continuous delivery with pair programming and TDD is a testament to the power of collaboration, modular design, and a feedback-driven development process. It highlights the potential of testing in production and the transformative impact of TDD on software development.

Test-Driven Development (TDD) & Testing in Production: Real Feedback for Better Software (2026)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Neely Ledner

Last Updated:

Views: 6160

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.