article thumbnail

The Real Reasons for Doing Test-Driven Development ??

Xebia

Why do people apply TDD? Here’s a secret: it’s not for the tests. Learn about the actual goal and values hidden under the surface of Test-Driven Development. What Are the Real Reasons for Doing TDD? Test-Driven Development (TDD) is a controversial topic amongst developers.

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). If the tests became too complex, I knew something was missing. This description takes the form of a test. The tests didn’t make assumptions about the inner workings of the code.

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

AoAD2 Practice: Test-Driven Development

James Shore

To share your thoughts, join the AoAD2 open review mailing list. Test-Driven Development. What programming languages really need is a ‘DWIM’ instruction,” the joke goes. “Do Programming is demanding. It’s test-driven development, and it actually delivers these results. Why TDD Works.

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. Writing tests only makes sense after the solution is viable. Last week, I came across examples of where I developed new functionality without using TDD.

article thumbnail

Agile, Stand-ups, TDD and Code Reviews

The Programmer's Paradox

Clearly, the best way to test any software is with fully automated ‘systemtesting that is thorough enough that it can be used for full regression testing. In its fullest form, it is at least as much code as the thing it is going to test, and you have to build a custom version of it, every time, for every system.

article thumbnail

Extended Role of QA in Test Driven Development (TDD)

Xoriant

TDD is an Agile Development technique in which developers write test cases before writing the corresponding code for the user story assigned to him. Once the code passes the Acceptance test, the code is then refactored /simplified to be used as production code. How TDD is different than others?

article thumbnail

5 ways to do Continuously Improved Testing

Xebia

It reduces the cost of testing and supports keeping long-term, high-development velocities. Test automation is not a project or a one-off—it is part of the development lifecycle and should be seen as its own system that needs to evolve over time as the requirements and system under test change and mature.

Testing 130