article thumbnail

AoAD2 Practice: Test-Driven Development

James Shore

Test-Driven Development. It’s test-driven development, and it actually delivers these results. Test-driven development, , or TDD, is a rapid cycle of testing, coding, and refactoring. Done well, TDD eliminates an entire class of programming errors. Why TDD Works.

article thumbnail

Test-Driven Development is not Merely “Test-First”

Net Objectives

Test-first yields analysis, it helps us determine what is clear, what is unclear or missing, and ferrets out misunderstandings. Unit tests are unforgiving, they don’t let you get away with anything. But Test-Driven Development also creates better design.

Insiders

Sign Up for our Newsletter

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

article thumbnail

Don't Measure Unit Test Code Coverage

James Shore

If you're using test-driven development, don't measure unit test code coverage. To improve code and test practices. 1 As Michael Bolton points out , it should really be root-cause s analysis. 1 As Michael Bolton points out , it should really be root-cause s analysis. Here's the thing about TDD.

article thumbnail

Don't Measure Unit Test Code Coverage

James Shore

If you're using test-driven development, don't measure unit test code coverage. To improve code and test practices. 1 As Michael Bolton points out , it should really be root-cause s analysis. 1 As Michael Bolton points out , it should really be root-cause s analysis. Here's the thing about TDD.

article thumbnail

Javascript Checkout -- Pausing for breath

Habitable Code

This article is part of a series in which I’m doing a well-known code kata in the “TDD as if you meant it” style. On the one hand, these articles give us a chance to dive deep into writing code via TDD and refactoring. If you missed the start of this series you can catch up with part 1 here.)

article thumbnail

AoAD2 Practice: Fast, Reliable Tests

James Shore

Fast, Reliable Tests. Our tests don’t get in our way. Test-Driven Development. Teams who embrace test-driven development accumulate thousands of tests. The more tests you have, the more important speed and reliability become. Use Broad Tests Only as a Safety Net.

article thumbnail

A Practical Approach for Shifting Left

Tenable

Adopt a test-driven development approach . Test-driven development is centered on shift left testing in the coding phase. It if focused on improving the quality of the code that developers are writing while creating unit tests.