article thumbnail

TDD mistakes 2

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). We’re doing TDD, but we have no code to test; we have nothing to hang our first test on, so we need to invent something, fast! The three mistakes I identified are: Starting with error cases or null cases.

article thumbnail

TDD, Unit Testing and the Mainframe

DevOps.com

Unit testing is like exercise: Companies know it’s good for you and you should do it, but given their druthers, they’d rather avoid the effort and just get to the benefit. The post TDD, Unit Testing and the Mainframe appeared first on DevOps.com. I wish I could say it’s otherwise.

Insiders

Sign Up for our Newsletter

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

article thumbnail

Agile, Stand-ups, TDD and Code Reviews

The Programmer's Paradox

Some people invented a fun little game called “test driven development” (TDD). It’s actually a neat exercise and I’ve always thought that it should be used heavily in education. There are few external forces that can do that automatically, TDD is not one of them. But it got worse. Overall testing is very important.

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

Javascript Checkout 1

Habitable Code

I followed the strict test-driven development (TDD) cycle, and when it came to the REFACTOR step I tried to drive all of my choices using connascence. It was a useful exercise, because we all learned a lot about connascence and how to deal with it. I’m going to tackle Dave Thomas’s Back to the Checkout kata (again).

article thumbnail

Javascript Checkout -- Triangulation 4

Habitable Code

This article is part 7 in a series in which I’m doing a well-known code kata in the “TDD as if you meant it” style. Making lists turns out to be a valuable exercise yet again! But if this exercise were playing out in real time only a couple of minutes would have elapsed.

article thumbnail

Apium Academy Software Workshops to Boost Your Career

Apiumhub

There are no katas or practical exercises, the focus of the workshop is on benefits, trade-offs, and critical concepts. Christian is a former practitioner of Agile methodologies, particularly eXtreme programming, with experience in practices like TDD, continuous integration, building pipelines, and evolutionary design.