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 was convenient as it allowed me to maintain a TDD flow without external dependencies. Truly, TDD saved the day!

Insiders

Sign Up for our Newsletter

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

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

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. This happens when how to solve the problem is not clear. Writing tests only makes sense after the solution is viable. Avoiding Premature Tests. Conclusion.

article thumbnail

AoAD2 Practice: Test-Driven Development

James Shore

Test-Driven Development. It’s test-driven development, and it actually delivers these results. Test-driven development, , or TDD, is a rapid cycle of testing, coding, and refactoring. Done well, TDD eliminates an entire class of programming errors. Why TDD Works.

article thumbnail

How to test software, part II: TDD and BDD

CircleCI

In my previous post we talked about mocks and stubs: what they are, and how to use them in various testing scenarios to give yourself more flexibility, speed up your tests, and get more determinism out of your test suite.

article thumbnail

When TDD Is Not a Good Fit

Dzone - DevOps

Without knowing the solution, is TDD worth it? I like to use Test-Driven Development (TDD) when coding. However, in some circumstances, TDD is more of a hinderance than a help. This happens when how to solve the problem is not clear. Writing tests only makes sense after the solution is viable.