Three patterns in java unit testing

  • Authors:
  • Eric Nickell;Ian Smith

  • Affiliations:
  • Palo Alto Research Center, Palo Alto, CA;Palo Alto Research Center, Palo Alto, CA

  • Venue:
  • XP'03 Proceedings of the 4th international conference on Extreme programming and agile processes in software engineering
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper discusses three unit-testing techniques. These are test probe, ipecac, and test hierarchies. Each of these patterns [1] explores a different area of the interaction of white- and black-box testing. The first two techniques, test probe and ipecac, allow internal implementations to be conveniently exposed to test code without compromising production code integrity. The latter provides a pattern for testing class hierarchies in production code, and a way to move from white-box to black-box testing while refactoring.