Remove Systems Review Remove TDD Remove Tools
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. We’re fleshing out the problem piecemeal, specifying behavior we want of the system. The post TDD or Test-Last?

article thumbnail

Effective Software Testing – A Developer’s Guide

Henrik Warne

Instead, it is a tool to highlight which parts of the code have not been exercised, in order to analyze why that is. I have used randomly generated tests to very good effect before, but always on complete systems (like generating random calls between phones), never as property based tests. Not all situations benefit from TDD.

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

Xebians collaborating on internal tool development

Xebia

This toolset (working title: Truffleswine) allows us to retrieve relevant data from systems quickly, which in turn helps us ask the right questions sooner and clarify business cases for improvement using actual data. Our development approach Here is an overview of how we introduce new capabilities into the tool: 1.

article thumbnail

Don't Measure Unit Test Code Coverage

James Shore

They configured their tool to enforce a comment on every commit. They changed the tool to enforce multiple-word comments on every commit. Non-functional attributes emerge from the system as a whole, so even a codebase with 100% coverage can have problems. Here's the thing about TDD. They most common comment? "a."

article thumbnail

5 ways to do Continuously Improved Testing

Xebia

Test automation is not a project or a one-off—it is part of the development lifecycle and should be seen as its own system that needs to evolve over time as the requirements and system under test change and mature. Delivery pipelines and source code management systems help—for example, you can gate pull requests on a failing test.

article thumbnail

TDD and Test Invariance

Net Objectives

TDD often uses unit tests to drive behavior into the system. When these are automated, this can give us clues as to how to make our work in TDD more reusable. Tools like Fit, Specflow, and Cucumber are all designed to parse some non-technical artifact (such … Continue reading "TDD and Test Invariance".

article thumbnail

AoAD2 Practice: Test-Driven Development

James Shore

To share your thoughts, join the AoAD2 open review mailing list. Wouldn’t it be wonderful if there were a tool that alerted you to programming mistakes moments after you made them—a tool so powerful, it virtually eliminated the need for debugging? There is such a tool, or rather, a technique. TDD isn’t perfect, of course.