Test Case - Formal Test Cases

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 (1775–1817)

    Unless the people can choose their leaders and rulers, and can revoke their choice at intervals long enough to test their measures by results, the government will be a tyranny exercised in the interests of whatever classes or castes or mobs or cliques have this choice.
    George Bernard Shaw (1856–1950)

    Medication alone is not to be relied on. In one half the cases medicine is not needed, or is worse than useless. Obedience to spiritual and physical laws—hygeine [sic] of the body, and hygeine of the spirit—is the surest warrant for health and happiness.
    Harriot K. Hunt (1805–1875)