Skip to Main Content
Detecting and correcting defects either during or close to the phase where they originate is key for any fast, cost-effective software development. Unit testing, performed by the code writer, is still the most popular technique. The author has summarized the experiences around JUnit, probably the most popular OSS tool for Java unit testing. JUnit is an open source Java library, Kent Beck and Erich Gamma created JUnit, deriving it from Beck's Smalltalk testing framework. Easy integration of coding and unit testing lies at the heart of Extreme Programming and the agile software development movement. In agile programming, software is constructed by implementing functionality incrementally, in short spurts of activity.