Tuesday, September 13, 2005
OpenPrinciple's Bob McCune articulates how you can increase the reliability of your application by writing better unit tests.
Unit testing is an essential practice for anyone seeking to develop better-designed, higher quality software. Testing the individual objects that make up your system provides you with a much higher degree of confidence in both the design and general quality of the application. However, testing objects in isolation often presents some unique challenges as few useful objects operate independently of others. The challenges are even greater in the context of a J2EE application where the container manages many of the collaborating objects. This article will look at the use of mock objects and the Mockrunner testing framework as a means of overcoming many of these challenges.
Read More...
# posted by
Michael Griffith @ 9:47 AM