previous |
start |
next
Testing a Class
- Test class: a class with a main method that contains statements
to test another class.
- Typically carries out the following steps:
-
- Construct one or more objects of the class that is being
tested.
- Invoke one or more methods.
- Print out one or more results
previous |
start |
next