Java Reference
In-Depth Information
13.9
R ESOURCES
Visit http://www.junit.org/ for all things JUnit-y, including some docu-
mentation (though it's not the greatest) and scores of articles which provide
tons of useful information.
A very good article on JUnit appeared in the May/June 2003 issue of
Oracle magazine (online at http://otn.oracle.com/oraclemagazine ),
titled “A JUnit Step-by-Step,” by Michel Casabianca.
For more about software testing in general, there is a classic (that is, from
early days of computing) book on the subject: Glenford J. Myers, The Art of
Software Testing , Wiley, New York, 1979.
You may also want to check out Just Enough Software Test Automation by
Daniel J. Mosley and Bruce A. Posey (ISBN 0-13-008468-9, 2002). Their
Web site 3 includes a bibliography of nearly hundred articles and topics on
client-server and other software testing topics.
13.10
E XERCISES
How many other tests can you think up to add to the AccountTest class? Did
you include checks for bad behavior—for example, attempting to make too
many subaccounts? Add the new asserts and rerun the test.
3. http://www.csst-technologies.com/csstbibl.htm
Search WWH ::




Custom Search