Hence, strategies for testing should be adopted that optimize the effort expended. All tests should be traceable to customer requirements. Tests should be planned long before testing begins. Testing should begin in the small and progress to larger components. Exhaustive testing is NOT possible.
Testing is more effective when conducted by an independent party.
The basis path method allows for the construction of test cases that are guaranteed to execute every statement in the program at least once. This method can be applied to detailed procedural design or source code. Draw the flow graph corresponding to the procedural design or code. Determine the cyclomatic complexity of the flow graph. Determine the basis set of independent paths.