Unit Testing
®Before developing a new method, define a test that describes:
®What the method does
®How it handles errors
®What it returns
®Write the tests, then write the code
®“UnitTests are programs written to run in batches and test classes. Each typically sends a class a fixed message and verifies it returns the predicted answer. “ – c2.com