Testing Strategies<br />Presented by:-<br />Satish S. Bhutawale (09)<br />Joyson G. Fernandes (13)<br />Guided by:- Prof. Praveen Gupta<br />
Concept:-<br />A test strategy is an outline that describes the testing portion of the software development cycle. <br />It is created to inform project managers, testers, and developers about some key issues of the testing process. <br />This includes the testing objective, methods of testing new functions, total time and resources required for the project, and the testing environment.<br />
A test Strategy defines the Project’s testing objectives and the means to achieve them.<br />The test strategy therefore determines testing effort and cost.<br />The goal is to choose a test approach that optimizes the relation between cost of testing and cost of defects.<br />
Approaches:-<br />Preventive vs. Reactive Approach:-<br />Preventive Approach:-<br /><ul><li>are those in which testers are involved from the beginning.
The use of V-model with emphasis on design reviews, will contribute a lot to prevent defects.
Early test specification and preparation, as well as application of reviews and static analysis, contribute to early defects finding, and thus reduce defect density during test execution.</li></li></ul><li>Reactive Approach:-<br /><ul><li>Are those in which testers are involved too late.
One very successful strategy in such a situation is called as “exploratory testing”.
This is a heuristic approach in which the tester “explores” the test object and the test design, with execution and evaluation occurring simultaneously.
Preventive approach should be chosen whenever possible. The analysis of cost clearly shows that:-</li></ul>The testing process should start as early as possible in the project.<br />Testing should continuously accompany all phases of the project.<br />
Analytical vs. Heuristic Approach:-<br />Analytical Approach:-<br /><ul><li>Test planning is founded on data and analysis of these data.
Amount and intensity of testing are then chosen such that individual or multiple parameters are optimized.</li></li></ul><li>Heuristic Approach:-<br /><ul><li>Test planning is founded on experience of experts and/or on rules of thumb.
Reasons might be that no data are available, mathematical modeling is too complicated, or because know-how is missing.
The approaches used in practice are often between these extremes and use both analytical and heuristic elements:-</li></li></ul><li><ul><li>Model-based Testing:-
Use abstract functional models of the software under test for test case design to find test exit criteria, and to measure test coverage.</li></li></ul><li>IXIT-Implementation Extra Information.<br />
Uses statistical models about fault distribution in the test object, failure rates during use of the s/w, or statistical distribution of use cases based on these distribution data the test effort is allocated.</li></li></ul><li><ul><li>Risk-based Testing:-
Uses information on project and product risks and directs testing to areas of greatest risk.