Posts

1. Buzzword or Solution?

Keeping Software Soft Is TDD/BDD just a buzzword to make whoever talks about it look fancy, including me? I don't think so. I say this because, over more than 30 years as a software developer, I have observed a significant challenge in modern software development: the challenge of keeping software soft . As its name implies, software is supposed to be soft, meaning it should be relatively easy to understand, change, and adapt. However, as software systems grow and development cycles become shorter, keeping them that way becomes increasingly difficult. TDD/BDD seems to offer a potential solution to some of the underlying problems. But before discussing how, let's first examine what makes software soft and why it becomes hard. What Does Soft Mean? Why do we call it software in the first place? One reason is that, unlike hardware, software is generally expected to be relatively easy to modify and adapt. We can change its behavior, introduce new features, fix bugs, and respond to ...

0. Preface

What Is This Blog About? This blog is about applying TDD and BDD for real. By “for real,” I mean that instead of using simple examples commonly found in TDD/BDD introductions—login forms, calculators, string processing, or coding katas—we’ll develop a real-world application involving a meaningful level of complexity, such as: A web user interface Networking and web APIs An agent-server architecture Multithreading, multiprocessing, and synchronization Database integration Secure coding practices These kinds of challenges are often absent from introductory TDD/BDD material. What Is the Goal of This Blog? The goal is simple: If TDD/BDD proves effective and worthwhile for developing a real-world application like this, adopt it. Otherwise, discard it. Who Is This Blog For? This blog is for people who already know what TDD/BDD is but are not satisfied with the toy examples. They want to know whether TDD/BDD really works when applied to a non-trivial, real-world application. If you are one of...