Advanced Techniques for building testing tools

by Andres Valloud

While SUnit and similar frameworks are quite useful, it is often the case that software projects need to adapt them to their particular use. This has a tendency to reveal deficiencies that usually show up in terms of lack of flexibility. For example, it is not straightforward to let SUnit handle different exceptions when more detailed results are important. Extending SUnit by subclassing is not as trivial as it may seem at first sight. Implementing file logging is typically much more cumbersome than it should be. The techniques shown in this presentation solve all of these problems. Two concrete applications will be discussed in detail: the Hash Analysis Tool, a framework for evaluating hash functions, as well as Assessments, a sample reimplementation of SUnit.

Bio: Andres has over 10 years of experience in Smalltalk. He has recently published two Smalltalk books, and is currently writing several others. He is one of the organizers of the Smalltalks conference in Buenos Aires, Argentina. He currently works at Cincom Systems as lead VM engineer for Cincom Smalltalk.

http://www.youtube.com/watch?v=jeLGRjQqRf0