article thumbnail

TDD saved the day

Xebia

The goal was to compare two object graphs and present them in a way a user could selectively merge them. To tackle each operation, I started with a small test, following the principles of Test-Driven Development (TDD). This was convenient as it allowed me to maintain a TDD flow without external dependencies.

article thumbnail

TDD is not about testing

Xebia

Test-driven development (TDD) has been around for more than 20 years. Many people think of TDD as a methodology for testing because of its name. If you dislike testing, why would you bother with TDD? TDD is not about testing at all. TDD is about design and early feedback. The result seems obvious. The real value.

Insiders

Sign Up for our Newsletter

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

article thumbnail

TDD is not about testing

Xebia

Test-driven development (TDD) has been around for more than 20 years. Many people think of TDD as a methodology for testing because of its name. If you dislike testing, why would you bother with TDD? TDD is not about testing at all. TDD is about design and early feedback. The result seems obvious. The real value.

article thumbnail

Effective Software Testing – A Developer’s Guide

Henrik Warne

This chapter uses the example of converting Roman numerals to integers to show how TDD works. After presenting what it is, the author notes that even though he uses TDD a lot, he does not use it all the time. Not all situations benefit from TDD. Empirical research does not find clear benefits from TDD.

article thumbnail

TDD Randori Session

Agile Pain Relief Notes from a Tool User

We ran our first TDD Randori session at lunch today (approx 15 attendees). In a Randori we work as a group trying to solve a small problem using TDD: There is one computer with the video output projected on a screen so all participants can see it. I also hear that we don't enough chance to practice TDD". We ran out of PIZZA.

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 88
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.