In order to design a test case, you need the input values for the test object, which can be derived using the techniques described later in this chapter. A test case also needs to fulfill any preconditions, and must include the expected results and postconditions in order to decide whether it has detected a failure. The expected results (output, changes in internal states, and so on) must be defined and documented before the test is executed. If you don’t adhere to these rules, an incorrect test result might be interpreted as fault-free, thus allowing a system failure to go unnoticed.
It usually makes sense to execute multiple tests in sequence (often referred to as a test suite or scenario). Which tests are performed and their sequence is defined in the test execution schedule, which usually lists test cases thematically according to their objectives. Test priorities and technical/logical dependencies between tests and regression test cases should also be included in the plan. Assignment of test cases to individual testers and test scheduling are also part of the test execution schedule.
Leave a Reply