article thumbnail

TDD or Test-Last? One Thing at a Time

Xebia

Here, we have to be creative and knowledgeable about the tools we use. 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. How should it behave?

article thumbnail

Xebians collaborating on internal tool development

Xebia

Our development approach Here is an overview of how we introduce new capabilities into the tool: 1. Without a clear design, we use pair programming and test-driven development (TDD) until we are satisfied, focusing on the desired API first. When possible, we pair program (review at real-time) The tool is an innovation project.

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

Effective Software Testing – A Developer’s Guide

Henrik Warne

I recently finished Effective Software Testing – A Developer’s Guide by Maurício Aniche , and I really liked it. I have been coding for a long time and I think I have been writing pretty good tests for the features I have implemented. The book apparently grew out of lecture notes from a course on software testing.

article thumbnail

5 ways to do Continuously Improved Testing

Xebia

In many organizations, automated testing lags behind and becomes a bottleneck for successful continuous delivery. Either tests do not provide enough confidence or companies take a very traditional approach, resulting in releases either introducing substantial risks or becoming costly. These principles tell us our tests should be: Fast.

Testing 130
article thumbnail

Agile Book Club: Test-Driven Development (with Mike “GeePaw” Hill and J.B. Rainsberger)

James Shore

Test-Driven Development is one of the few truly new Agile ideas. It’s not perfect, but it’s a powerful tool for creating robust and reliable software. In this session, we’re joined by two folks with decades of TDD experience: Mike “GeePaw” Hill and J. Test-Driven Development. ?? Fast, Reliable Tests. ??

article thumbnail

TDD and Test Invariance

Net Objectives

TDD often uses unit tests to drive behavior into the system. However, sometimes acceptance tests are used to do this. When these are automated, this can give us clues as to how to make our work in TDD more reusable.

article thumbnail

TDD and Code Coverage Tools

Net Objectives

In TDD and Code Coverage, we established that code coverage tools do not provide useful project metrics, in and of themselves. In TDD, we don’t use code coverage tools for this purpose because we don’t need to. If all production code is written to satisfy prewritten, failing tests, then by definition, all code is covered.