test-driven development | TechWell

test-driven development

Red-green-refactor cycle Keep Your Code Base Clean with Regular Refactoring

The Boy Scouts have a rule: “Leave the campground cleaner than you found it.” You should apply the same principle to your code. Regular refactoring prevents code rot by keeping the code base clean and easy to maintain. Refactoring activities can be added to the product backlog as user stories to make it a discipline.

Dheerendra Mutharaju's picture
Dheerendra Mutharaju
Close-up photo of someone's blue eye, by Amanda Dalbjörn The Test Automation Mindset

Building a test automation strategy involves all members of the technical team, layering tests throughout the technology stack, and using this approach to design better software and catch simple problems earlier in the development cycle. But working like that requires a shift in mindset across the organization.

Justin Rohrman's picture
Justin Rohrman
robotic vacuum 3 Reasons Testers Shouldn’t Be Afraid of AI

How do testers contribute in agile? DevOps? Should testing tools and automation replace most things that manual testers do? At this point, testers are almost required to hold their breath whenever people start talking about new trends, and artificial intelligence is no different.

Josiah Renaudin's picture
Josiah Renaudin
Tester paired with a developer, photo by Alvaro Reyes Elevate Code Quality by Integrating Testing and Development

Pair programming generally involves two programmers working on a single change from start to finish. You can augment this pattern by adding a test specialist, so you can test-drive feature changes first and the tester can ask questions and guide test and code design. What you get is quality built in from the start.

Justin Rohrman's picture
Justin Rohrman
Tricycle Testing in a Pair Programming Environment

If a development team does pair programming, where does testing fit in? You don't have to wait until the programming is done—testers can be part of the whole process, from code design to reviewing changes to production. Pair programming plus a good automation strategy mean quality is built in throughout development.

Justin Rohrman's picture
Justin Rohrman
woman painting a wall DevOps and Test Automation: You Missed a Spot

The key success factor for DevOps is the commitment from teams, managers, and other stakeholders. There should be agreement that tests and their automation can be important re-usable products, which need attention and cooperation to be able to support approaches like DevOps effectively.

Hans Buwalda's picture
Hans Buwalda
The Basis of Test-Driven Development: Writing Effective Test Cases

Too often, test-driven development still initially focuses on coding aspects, not testing. The first step in a test-driven approach has to be writing effective tests. It's not enough to simply ensure good coverage; effective tests should also confirm that decisions made in the code work correctly.

Dale Perry's picture
Dale Perry
What's in the Fall 2015 Issue of Better Software Magazine?

For the first time, the cover of Better Software magazine showcases two articles. The dual features are about the new ISO 29119 software quality standard—one pro, one con. Reading both points of view will make you think about what your organization is doing to adopt quality standards.

Ken Whitaker's picture
Ken Whitaker