Testing and Debugging
[Click to view the web page connected to this object]

A complex program never works right the first time. It will most likely contain errors, also called 'bugs'. Discovering and correcting those bugs is easier if the program has been designed with testing in mind. This lesson explains the principles of test case selection and evaluation, and presents strategies for effective debugging. In addition it shows how to use logging and assertions. There are several topics to consider. Select from the following menu or use 'n' to move to the next exhibit.
a) Unit Tests
b) Test Case Evaluation
c) Regression Testing and Test Coverage
d) Program Traces, Logging, and Assertions
e) The Debugger
f) A sample Debugging Session
or
x) to Advanced Java Topics

Links:
Unit Tests
Test Case Evaluation
Regression Testing
Program Trace
The Debugger
A Sample Debugging Session
Advanced Java Topics