CS447 Lecture 2: Ref2-Concepts.pdf
Document Summary
Today"s objectives: a set of concepts: what is a test case, expected outcome, failure and fault, test activities, point of testing. In its basic form, a test case is a pair of. In stateless systems where an input does not depend on previous inputs and expected outcomes, test cases are simple in structure. A compiler is an example of a stateless software. In reactive systems, where an input depends on the previous input and expected outcome, a test case consists of a sequence of pairs. A telephone switching system and an automated teller machine are examples of reactive systems. For most of the practical reactive systems, most of the test cases include some form of simple logic involving time, condition, loop and so on. It may be noted that an expected outcome is a part of the test case. Ideally, the expected outcome must be computed as a part of the test design.