by dick scherrer » Tue Dec 28, 2010 1:37 am
Hello and welcome to the forum,
Do you understand the concept of a "unit"? Suggest you talk with one of your seniors an learn what defines "unit" on your system.
On many projects, a unit is a program. A test case describes what is to be the test. The results are the output of running the test case. A test case should execute all of the code to ensure everything works as expected - this includes rejecting invalid inputs. The expected results should be compared against the unit test results to make sure that what was expected does actually happen. Unit test cases should be kept current and each time the unit is changed, the expected results are changed.
Hope this helps,
d.sch.