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.

article thumbnail

TDD: Three easy mistakes

Habitable Code

Back in 2014 I wrote a blog post listing three mistakes often made by folks who are new to test-driven development (TDD). Each time I visit a team that is relatively new to TDD I find the same basic mistakes cropping up every time. Next time, another TDD rookie mistake… Thanks for reading Habitable Code! This is part 1.

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 Code Coverage Tools

Net Objectives

In TDD and Code Coverage, we established that code coverage tools do not provide useful project metrics, in and of themselves. In TDD, we don’t use code coverage tools for this purpose because we don’t need to. If all production code is written to satisfy prewritten, failing tests, then by definition, all code is covered.

article thumbnail

TDD example in software development (Part I)

Apiumhub

After a while thinking about what type of TDD article to write about and, since there are many of them and very good theoretical ones (written by influencers in the world of software development), I have chosen to develop a mini-project while explaining the key points of the development of the application, basically giving you a TDD example.

article thumbnail

5 ways to do Continuously Improved Testing

Xebia

Definition of Done – a team needs to agree that executing these tests is part of delivering changes and when changing code, new tests should be added. As Dave Farley and Arjan Molenaar wrote: “TDD is not about writing unit tests”. This results in a steadily-growing set of tests becoming part of the development cycle.

Testing 130
article thumbnail

AoAD2 Practice: Test-Driven Development

James Shore

Test-driven development, , or TDD, is a rapid cycle of testing, coding, and refactoring. Done well, TDD eliminates an entire class of programming errors. When used properly, TDD also helps you improve your design, documents the behavior of your code, enables refactoring, and guards against future mistakes. Why TDD Works.

article thumbnail

Lessons learned from the React Global Online Summit 22 – Junior Track

Apiumhub

There were numerous topics covered in this online event, and in this article, I would like to go through a few of the sessions in the junior track, such as Composable Microfrontends, React Hooks, TDD with User Interfaces, and Web Performance. He did a simple request form demo with TDD and the React Testing Library to prove his hypothesis.

UI/UX 87