article thumbnail

TDD or Test-Last? One Thing at a Time

Xebia

That is precisely what TDD helps with. TDD to Separate Concerns At the core of TDD is its mantra : red, green, refactor. " Red is where we express our understanding of the problem in a failing test, one piece at a time. We’re fleshing out the problem piecemeal, specifying behavior we want of the system.

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.

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 saved the day

Xebia

Armed with a few assumptions about how things should work, I embarked on developing an application with a graphical UI and a backend. To tackle each operation, I started with a small test, following the principles of Test-Driven Development (TDD). If the tests became too complex, I knew something was missing.

article thumbnail

Technical Review: A Trusted Look Under the Hood

TechEmpower CTO

We hear them explain that their current software development is expensive, deliveries are rarely on time, and random bugs appear. The answer is to engage a trusted outside source for a Technical Review – a deep-dive assessment that provides a C-suite perspective. These are classic inflection points for a development team.

article thumbnail

53 Questions Developers Should Ask Innovators

TechEmpower CTO

Even when they have talked to multiple developers or development firms, we’re often the first to ask basic questions like “Who are your customers?” ” or “Are you developing for desktop, tablet, mobile, or all three?” The innovator/developer relationship needs to be a conversation.

article thumbnail

The early returns on gen AI for software development

CIO

Generative AI is already having an impact on multiple areas of IT, most notably in software development. Early use cases include code generation and documentation, test case generation and test automation, as well as code optimization and refactoring, among others.

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.