O'Reilly logo

Swing Extreme Testing by Tim Lavers, Lindsay Peters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. GrandTestAuto

One of the key packages in the LabWizard codebase consists of almost three hundred classes that define the operators in the LabWizard condition language. When we were developing this package we were faced with the problem of making sure that every single method was tested. This was before we had as extreme an attitude about testing as we do now, but we were more careful about this package than others because the methods directly related to the evaluation of the conditions in rules. To deal with this situation, we created a tool that not only ran the unit tests but at the same time checked that each public or protected method had a test method. This tool evolved into GrandTestAuto.

In this chapter we explain how software ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required