Formal Test Cases
In order to fully test that all the requirements of an application are met, there must be at least two test cases for each requirement: one positive test and one negative test. If a requirement has sub-requirements, each sub-requirement must have at least two test cases. Keeping track of the link between the requirement and the test is frequently done using a traceability matrix. Written test cases should include a description of the functionality to be tested, and the preparation required to ensure that the test can be conducted.
A formal written test-case is characterized by a known input and by an expected output, which is worked out before the test is executed. The known input should test a precondition and the expected output should test a postcondition.
Read more about this topic: Test Case
Famous quotes containing the words formal, test and/or cases:
“On every formal visit a child ought to be of the party, by way of provision for discourse.”
—Jane Austen (17751817)
“Just as we need to encourage women to test lifes many options, we need to acknowledge real limits of energy and resources. It would be pointless and cruel to prescribe role combination for every woman at each moment of her life. Life has its seasons. There are moments when a woman ought to invest emotionally in many different roles, and other moments when she may need to conserve her psychological energies.”
—Faye J. Crosby (20th century)
“There are few cases in which mere popularity should be considered a proper test of merit; but the case of song-writing is, I think, one of the few.”
—Edgar Allan Poe (18091845)