Thursday, May 2, 2013 - 11:15am to 12:15pm

Better Unit Tests with ApprovalTests: An Open Source Library

When a unit test fails, we want clear, expressive, rich feedback so we can quickly understand the nature of the failure and get a good idea of how to fix it. Unit testing frameworks are fantastic at running tests and alerting us to any failure. Unfortunately, sometimes (or is that often?) the details of the failure are difficult to evaluate. Isn’t there some way to make the specifics jump off the screen so we don’t have to dig through all the details? ApprovalTests library does just that. Woody Zuill demonstrates how to include ApprovalTests in your current unit test framework to easily get these benefits. It works for everything from simple strings to arrays, GUIs, and complex objects. Plus, it’s free and available for C#, Java, PHP, and Ruby. To go beyond the limits of traditional assertion tests, learn how to easily enhance and build on your current unit testing skills by adding ApprovalTests. 

Independent Consultant

An independent senior agile consultant, trainer, and guide, Woody Zuill has been programming computers for thirty-plus years. As a pioneer of the Mob Programming approach of teamwork for software development, he has been sharing presentations and workshops on Mob Programming for conferences, user groups, and organizations worldwide. Woody is considered one of the founders of the "#NoEstimates" discussion on Twitter. He believes that code must be simple, clean, and maintainable so we can realize the agile promise of “responding to change,” and that we must constantly “reflect, tune, and adjust” so we can continuously grow our skills and improve our capabilities.