Unit Test Plans

When
developing test plans for your code, try to test as little as code as possible
and isolate it from the rest of the application. If you develop your
application using component-based principles, you can write test cases for each
component and each method. Testing these small pieces of functionality in
isolation is Unit Testing.
Here are some tips when setting up your unit test plans:
-
Consider valid and invalid inputs
-
Check for exception handling
-
Cover all return cases
-
Verify side effects
Once you have components individually tested and working, you can begin
integration testing. Should you encounter an error, you know it is related to
the integration.