article thumbnail

TDD with GitHub Copilot

Martin Fowler

At Thoughtworks, we are strong practitioners of Test Driven Development (TDD). Paul Sobocinski writes a brief memo explaining how some of our teams have used TDD with GitHub Copilot. Naturally this leads to the question of how generative AI can help with this technique.

TDD 241
article thumbnail

Test-Driving HTML Templates

Martin Fowler

When building a server-side rendered web application, it's valuable to test the HTML that's generated through templates. While these can be tested through end-to-end tests running in the browser, such tests are slow and more work to maintain than unit tests.

Testing 305
Insiders

Sign Up for our Newsletter

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

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. Feedback on what?

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. Writing tests only makes sense after the solution is viable. Last week, I came across examples of where I developed new functionality without using TDD. Avoiding Premature Tests.

article thumbnail

Testing server calls in generated HTML

Martin Fowler

Matteo Vaccari completes his article on testing template-generated HTML, by looking at how to use TDD with pages that make calls to the server.

Testing 229
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. There are some negative feelings towards writing tests. There are some negative feelings towards writing tests. It is not about testing, it is about design.

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. There are some negative feelings towards writing tests. There are some negative feelings towards writing tests. It is not about testing, it is about design.