article thumbnail

When TDD Is Not a Good Fit

Henrik Warne

I like to use Test-Driven Development (TDD) when coding. However, in some circumstances, TDD is more of a hinderance than a help. Last week, I came across examples of where I developed new functionality without using TDD. Last week, I came across examples of where I developed new functionality without using TDD.

article thumbnail

The Real Reasons for Doing Test-Driven Development ??

Xebia

Why do people apply TDD? What Are the Real Reasons for Doing TDD? Test-Driven Development (TDD) is a controversial topic amongst developers. After many years of doing TDD daily, I think part of the reason is that some people do not fully grasp the reasons behind TDD. TDD and the Values of XP.

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

Bliki: TestDrivenDevelopment

Martin Fowler

Test-Driven Development (TDD) is a technique for building software that guides software development by writing tests. It was developed by Kent Beck in the late 1990's as part of Extreme Programming. Writing the test first, what XPE2 calls Test-First Programming, provides two main benefits.

article thumbnail

TDD or Test-Last? One Thing at a Time

Xebia

Managing the Many Concerns in Programming Programming is a challenging activity. At some point, I almost accepted this – apparently, this is what it means to be programming. Disentangling Programming Concerns At first glance, all the activities I mentioned seem inseparable, like a big blob of spaghetti code.

article thumbnail

TDD saved the day

Xebia

To tackle each operation, I started with a small test, following the principles of Test-Driven Development (TDD). As an aside, TDD is an iterative workflow that involves describing a specific aspect you want to solve in terms of the programming language you’re using. Truly, TDD saved the day!

article thumbnail

Article: How to Spread Technical Practices Like TDD in an Organization

InfoQ Culture Methods

One of the success factors for Agile and DevOps is developers changing the way they work and adopting practices like Test-Driven Development (TDD). It’s not something that just happens by itself, and many of the “usual” ways of introducing change fail for TDD.

article thumbnail

Effective Software Testing – A Developer’s Guide

Henrik Warne

It starts with understanding what the program is supposed to do, and to identify the types and domains of the inputs and outputs. Some inputs are equivalent – they result in the same path through the program, even if the values are different. Finally, path coverage means that all possible paths of the program have been executed.