Software teSting BaSicS 7
Definition: The first step any organization needs to do is define one unique
definition for testing within the organization so that everyone is of the same
mindset.
How to achieve
: How are we going to achieve our objective? Is there going
to be a testing committee, will there be compulsory test plans which need to
be executed, etc?.
Evaluate: After testing is implemented in a project how do we evaluate it? Are
we going to derive metrics of defects per phase, per programmer, etc. Finally, it’s
important to let everyone know how testing has added value to the project?.
Standards: Finally, what are the standards we want to achieve by testing. For
instance, we can say that more than 20 defects per KLOC will be considered
below standard and code review should be done for it.
The previous methodology is from a general point of view. Note that you
should cover the steps in broader aspects.
(B) should testIng Be done only after the BuIld and
executIon phases are complete?
Note: This question will normally be asked to judge whether you have a
traditional or modern testing attitude.
FIGURE 11 Establishing a testing policy
8 Software teSting interview QueStionS
In traditional testing methodology (sad to say many companies still have
that attitude) testing is always done after the build and execution phases. But
that’s a wrong way of thinking because the earlier we catch a defect, the more
cost effective it is. For instance, fixing a defect in maintenance is ten times
more costly than fixing it during execution.
Testing after code and build is a traditional approach and many companies
have improved on this philosophy. Testing should occur in conjunction with
each phase as shown in the following figure.
In the requirement phase we can verify if the requirements are met
according to the customer needs. During design we can check whether
the design document covers all the requirements. In this stage we can also
generate rough functional data. We can also review the design document
from the architecture and the correctness perspectives. In the build and
execution phase we can execute unit test cases and generate structural and
functional data. And finally comes the testing phase done in the traditional
way. i.e., run the system test cases and see if the system works according to the
requirements. During installation we need to see if the system is compatible
with the software. Finally, during the maintenance phase when any fixes are
made we can retest the fixes and follow the regression testing.
FIGURE 12 Traditional way of testing
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.136.186