Remove .Net Remove Development Remove Systems Review Remove TDD
article thumbnail

TDD and System Architecture

Net Objectives

When first adopting TDD, developers can run into some roadblocks that seem to indicate that TDD is a difficult process. In truth, some of these problems actually indicate faults in the system architecture.

article thumbnail

TDD Replicating Algorithms

Net Objectives

Developers often remark that the tests may contain the same algorithms that the production code does. This feels like redundancy and makes them wonder if TDD is promoting bad practices. Example: A system that converts Fahrenheit to Celsius.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

TDD and Test Anatomy

Net Objectives

TDD, when conducted as a specifying activity, is an aspect of Behavior-Driven Development (BDD). Behavior is what we specify and is what we “drive” into the system using tests. Therefore, when structuring the tests in TDD we can be guided by the language of BDD: Given, When, Then.

article thumbnail

“Good” Tests in TDD

Net Objectives

As consultants, we are often asked to review the work of others. One of the things we review is the quality of the design of some part of the system. Often the developers understand and agree that these qualities are important, but they are not … Continue reading "“Good” Tests in TDD".

article thumbnail

Commonly Missing Tests in TDD

Net Objectives

Because TDD is “test” driven development, people tend to think of TDD as “writing tests first.” In fact, TDD is not a testing activity per se. It is the creation of an executable specification prior to the creation of each system element. Because of this … Continue reading "Commonly Missing Tests in TDD".

article thumbnail

TDD Provides Value to Everyone in the Development Process

Net Objectives

Project Managers and Product Owners are sometimes dubious about the development team doing TDD. They are concerned that the team will slow down because they’ve been burdened with additional work, and that developers might “game” the system with bogus tests to satisfy the process.

article thumbnail

TDD and Accuracy vs. Precision

Net Objectives

It is important that the system behaviors we create as developers are both accurate and precise. The level of precision required … Continue reading "TDD and Accuracy vs. Precision". These are not the same. One can be: Accurate, but not precise: “Pi is a little over three.” Precise, but not accurate: “Pi is 5.393858303895.”