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.

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.

article thumbnail

Don't Measure Unit Test Code Coverage

James Shore

Here's the thing about TDD. The definition of TDD is that you don't write code without a failing test, and you do so in a tight loop that covers one branch at a time. So if you're doing TDD, any code you want to cover is ipso facto covered. If people don't know how to do TDD properly, code coverage metrics won't help.

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

Grow professionally as a backend developer. Interview with Javier Gomez – Backend developer at Apiumhub

Apiumhub

Definitely, Never Stop Growing. TDD By Example (Kent Beck): Testing is a fundamental tool for the software development. With this book we’ll see the goodness of TDD, where we will go step by step, from less to more, in an easy understandable way, with a lot of examples and being able to put it all on practise from an early step.