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:
“Then the justice,
In fair round belly with good capon lined,
With eyes severe and beard of formal cut,
Full of wise saws and modern instances;
And so he plays his part.”
—William Shakespeare (15641616)
“I am willing, for a money consideration, to test this physical strength, this nervous force, and muscular power with which Ive been gifted, to show that they will bear a certain strain. If I break down, if my brain gives way under want of sleep, my heart ceases to respond to the calls made on my circulatory system, or the surcharged veins of my extremities burstif, in short, I fall helpless, or it may be, dead on the track, then I lose my money.”
—Ada Anderson (1860?)
“Only by being guilty of Folly does mortal man in many cases arrive at the perception of Sense. A thought which should forever free us from hasty imprecations upon our ever-recurring intervals of Folly; since though Folly be our teacher, Sense is the lesson she teaches; since, if Folly wholly depart from us, Further Sense will be her companion in the flight, and we will be left standing midway in wisdom.”
—Herman Melville (18191891)