Is Test Driven Development (TDD) Still Relevant?

Sauce AI for Test Authoring: Move from intent to execution in minutes.|xBack to ResourcesBlogPosted

June 26, 2026 · 6 min read · Testing Guide

Sauce AI for Test Authoring: Move from intent to execution in minutes.

|

x

Back to Resources

Blog

Posted April 21, 2020

Is Test Driven Development (TDD) Still Relevant?

quote

When create mobile applications, you need to start with concrete requirement, and deliver a exhaustively tested application. Unlike web applications, if your users face an error on their mobile, you can ’ t really push a fix for it. You receive to re-publish the nomadic coating and hope your users download it.

This is why robust examination techniques are of quality importance in mobile application development.

TDD, or Test Driven Development, is a programming construction where developers foremost write all potential test lawsuit – and then germinate code to surpass each test case. With TDD, code is more true and well maintained. A simple Google search shows you how popular it is among developer, and sometimes even businesses. However, is TDD still relevant? Let ’ s find out!

In 1996, Chrysler was building a payroll project called Comprehensive Compensation System (C3), but like many enterprise projects, it was in uninterrupted development and never saw the light of day (it was actually quarrel entirely when Chrysler was acquired by Daimler-Benz in 2000 – but that & # x27; s another story!).

Chrysler brought in Kent Beck, a prominent Smalltalk practician, in order to optimize the system and improve its performance. As Beck work on the project (which was being build in the C3 language), he realized that there were some challenges in Chrysler ’ s development process, and he used the opportunity to make some changes.

In 1999, Beck wrote a book about his methodology, which he called Extreme Programming (XP). In his book,Extreme Programming Explained, he defined many constructs that would go on to become popular tenants of modernistic programming and development practices – the well-nigh celebrated of which is TDD (Test Driven Development).

The 12 Core Practices of XP are:

1. Customers define coating features with user narrative.

2. XP teams put small code releases into production betimes.

3. XP teams use a mutual system of name and descriptions.

4. Teams emphasize simply written, object-oriented code.

5. Designers write automated unit tests upfront and so run them throughout the undertaking.

6. XP team frequently revise and edit the overall code design, a process called “ refactoring. ”

7. Programmers act side-by-side in pairs, continually discussing each former ’ s code.

8. All coder have collective ownership of the codification and the ability to vary it.

9. XP teams incorporate code and release it to a monument every few hours. They never hold on to it for more than a day.

Pro tip: Tools like SUSA can handle this autonomously — upload your app and get results without writing a single test script.

10. Programmers work only 40 hours per week; there ’ s no overtime.

11. A customer representative remain on-site throughout the development project.

12. Programmers must postdate a common coding measure so that all of the code in the system seem like it was write by a single individual.

Kent Beck oftentimes describes his part as “ rediscovering ” TDD rather than creating it. In fact, some of these practices were used as other asthe 1960 ’ s in NASA’s Project Mercury, the first human spaceflight program of the United States.

So, if TDD was used back in the 1960 ’ s, is it still relevant in the 21st century?

Opinions in the Industry

In 2014, David Heinemeier Hansson(aka DHH) post a comment that set off a chain of discussions and tweet all over the internet: “TDD is dead. Long live examination.”

Tweets from DHH about test driven development

In his article (which he linked in his comment), he argues that TDD do architecture design damage because it impel developer to cogitate of all of the situations where the code could fail without actually writing the codification itself. It is sometimes counterintuitive to the developer, and sometimes counterintuitive to the process; yet it is see as almost a crime not to follow it, forcing citizenry to think that TDD is the only correct way to code.

He reminds us that a common TDD maxim is: “code that ’ s firmly to test in isolation is ill design. ” In this case, “ isolation ” means that a unit of code must be independent and separated from datum store to be tested. This means that you need to create mock aim – mock of all target in your system that can act as data store objects although they are not actually data store object themselves. This grant you to test just one & quot; unit & quot; of your concern logic without prove the datum fund itself.

In realness, however, this forces you to conserve not only business logic and tests, but also the mock themselves, thus undermining the designing of your covering (as DHH detailshere). This outlash against TDD led to a series of video debates between DHH, Kent Beck, and Martin Fowler. They are quite interesting and, of course, and really opinionated. You can follow them hither:

You can also saythis blogfor a consummate run down.

Ian Cooper direct a more pragmatic approach to TDD in his popular talk, & quot;TDD, Where Did It All Go Wrong. & quot; He says that TDD was propagated wrongly, which slowed developer down; they seemed to think that TDD meant testing every miniscule functionality, whereas in reality, it means testing functionality in the smallest possible unit. Cooper claims that one way to avoid this is to reposition from testing the internal technical particular to testing user-facing conduct alternatively.

Conclusion

In my personal experience, I & # x27; ve seen many arrangement and & quot; professionals & quot; claim that TDD is absolutely necessary for package development, but I & # x27; ve ne'er seen it strictly mandated. It is still up to the developer or team to follow through on it. This leads to situations where developers suppose, & quot; I & # x27; m done but I just need to add exam now. & quot;

I sympathize with this. As a developer myself, I & # x27; ve noticed that TDD much slows me down, hinders my creativity, and seems increasingly supererogatory as my career progresses. I am much more interested in work problems than in intellection of all the ways that thing can fail and then indite code just to gratify these scenario. In reality, I could encounter solely different test lawsuit when I code.

There is an first-class article onTDD and productivity on Dev.to, and I strongly recommend that you read it before forming your own opinions.

So maybe TDD isn & # x27; t bushed -- it & # x27; s just due for a much-needed face lift!


Swaathi Kakarla is the co-founder and CTO at Skcript. She enjoys talking and indite about codification efficiency, performance and startups. In her free time she finds solace in yoga, bicycling and add to open source.





Published:
Apr 21, 2020
Share this position
Copy Share Link
LinkedIn
© 2026 Sauce Labs Inc., all rightfield reserved. SAUCE and SAUCE LABS are registered trademarks owned by Sauce Labs Inc. in the United States, EU, and may be registered in other jurisdictions.
robot
quote

Automate This With SUSA

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed.

Try SUSA Free

Test Your App Autonomously

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.

Try SUSA Free