test-driven development

Articles

Path breaking away from a road Learn More from Tests That Stray off the Happy Path

Unit tests exercise various paths through your codebase. Some are happy paths where everything you expect goes right. These tests are boring. The interesting tests are the ones where your code goes hurtling off the happy path. The trick is to capture the diversity of a multitude of unhappy paths without needlessly duplicating unit tests. Here's how you can improve the quality of your unit testing and fix it more effectively.

Steve Poling
Changeable code The Value of Test-Driven Development when Writing Changeable Code

Writing changeable code makes it easier and more cost-effective to add features to existing software. Writing changeable code doesn’t take longer, but it does require paying attention to certain things when building a system. It's important to have a good suite of unit tests that support refactoring code when needed, and test-driven development helps you create independently testable code.

David Bernstein
Pencil to paper Document Why as Well as What: Finding the Purpose of Your Software

Code can express what we want to accomplish, but it’s a little more difficult to express why we’re doing something in the first place. The people who maintain code are often not those who originally wrote it, so documenting why helps set a context and gives clues as to what the author was thinking when they came up with a particular design, making developers' jobs easier.

David Bernstein
Magnifying glass Exposing False Confidence in Your Tests

Testing can't tell you what's wrong with your code. It can only show what is not wrong with it. And though we cannot possibly conceive everything that might be wrong, it's important to stray from the "happy path." We need test cases that present bogus inputs and assert that they raise exceptions. That's how we can replace our false confidence with true assurance.

Steve Poling

Better Software Magazine Articles

Applying Test-Driven Development to Agile

Test-driven development (TDD) is fundamental to agile, but to most of us caught up in projects, there's never enough time to commit to it. Erick Fleming shows how to use TDD to improve product quality and time to delivery.

Erick Fleming
Why ISO 29119 Is a Flawed Quality Standard

Never afraid to voice his opinion, James Christie doesn't object to the adoption of any recommendations that improve software quality. He does, however, believe that ISO 29119 is fundamentally flawed.

James Christie
Software Testers Should Know about ISO 29119

The ISO/IEC/IEEE 29119 has defined a set of requirements for testing software. As a member of the ISO working group, Jon Hagar wants you to know the basics and why testing teams should consider this recommendation.

Jon Hagar
A Tale of Two Doctors and the Value Stream

Johanna Rothman compares the experience a patient has with doctors to software development. Producing value implies that the customer believes the software you create provides an important benefit by taking into  consideration the way a user works along with an exceptional user experience.

Johanna Rothman

Interviews

Alex Martins Continuous Testing and Open Source Integration: An Interview with Alex Martins
Video

In this interview, Alex Martins, the CTO of continuous quality at CA Technologies, explains how continuous testing, continuous integration, and open source testing tools can help modern software teams keep up with the speed and demands of agile.

Jennifer Bonine
Hans Buwalda discusses software test automation, virtualization, and outsourcing STAREAST 2015 Interview with Hans Buwalda on the Challenges of Big Testing
Video

In this interview, Hans Buwalda discusses his STAREAST presentations. These include "When Testers Feel Left Out in the Cold" and "The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More." He also covers his experience at the conference.

Jennifer Bonine
Dan North discusses agile software testing STAREAST 2015 Interview with Dan North on Deliberate Testing in an Agile World
Video

In this interview, Dan North covers his presentations at STAREAST, including Deliberate Testing in an Agile World and Deliberate Discovery. He also discusses his experience at the conference and his multiple interactions with other testers.

Jennifer Bonine
Richard Hundhausen discusses Real-World Software Testing STAREAST 2015 Interview with Richard Hundhausen on Real-World Software Testing
Video

In this interview, Richard Hundhausen talks about real-world software testing, his experience at STAREAST, the benefits of Scrum and agile, and how we can end the developer/tester dichotomy by bringing these two teams together.

Jennifer Bonine

Conference Presentations

Collocated East Logo Test Data Management: A Healthcare Industry Case Study
Slideshow

As IT systems increase in both scale and complexity, delivering quality applications becomes more challenging. In addition to creating and executing test scenarios, testers need to create and maintain the test data that enables test execution. Test data management (TDM) creates and...

Jatinder Singh, Harvard Pilgrim Health Care, and Shaheer Mohammed, Harvard Pilgrim Health Care
Blunders in Test Automation
Slideshow

In chess, the word blunder means a very bad move by someone who should know better. Even though functional test automation has been around for a long time, people still make some very bad moves and serious blunders. The most common misconception in automation is thinking that manual...

Dorothy Graham, Software Test Consultant
Testing Blockbuster Games: Lessons for All Testers
Slideshow

We can all learn valuable lessons from game development where, in addition to functional performance, overall experiential quality—user experience (UX)—is of critical importance. Blockbuster game development presents particular challenges with regard to scale, rapid iteration, and fuzzy...

Tulay Tetiker McNally, BioWare Electronic Arts and Alex Lucas, BioWare Electronic Arts
Achieving Test Automation Critical Mass with Action Based Testing
Video

Despite advances in testing, the reality is that companies often automate less than 30 percent of their functional tests. By practicing Action Based Testing (ABT) you can take your...

John Kane

StickyMinds is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.