Testing Concepts ClassBook Lesson03
Testing Concepts ClassBook Lesson03
1. Static Testing
It is a verification process
Testing a software without execution on a computer. Involves just
examination/review and evaluation
It is done to test that software confirms to its SRS i.e. user specified requirements
It is done for preventing the defects
2. Dynamic Testing
It is a validation process
Testing software through executing it
It is done to test that software does what the user really requires
It is done for detecting the defects
Static & Dynamic Testing Techniques
Testing Techniques
Review Code Inspection Walkthrough Desk Check White Box Black Box
Differences between Static and Dynamic Testing
It is the process of confirming whether the It is the process of confirming whether the
software meets its requirement specification. software meets user requirements.
Code
Testware, including test plans, test cases, test procedures, and automated
test scripts
User guides
Web pages
Detecting and correcting defects more efficiently and prior to dynamic testing.
Reducing total cost of quality over the software’s lifetime, due to fewer
failures later in the lifecycle or after delivery into operation
Coding defects (e.g., variables with undefined values, variables that are
declared but never used, unreachable code, duplicate code)
Planning
Initiate review
Author
Management
Review leader
Self Review
Informal Review
Walkthrough
Technical Review
Inspection
Self Review
Scribe is mandatory
There are a number of review techniques that can be applied during the
individual review (i.e., individual preparation) activity to uncover defects.
Ad hoc
Checklist-based
Role-based
Perspective-based
3.2.5 Success Factors for Reviews
Each review has clear objectives, defined during review planning, and used as
measurable exit criteria
Review types are applied which are suitable to achieve the objectives and are
appropriate to the type and level of software work products and participants
Any checklists used address the main risks and are up to date
Large documents are written and reviewed in small chunks, so that quality control is
exercised by providing authors early and frequent feedback on defects
Management supports the review process (e.g., by incorporating adequate time for
review activities in project schedules)
3.2.5 Success Factors for Reviews (Cont..)
The right people are involved to meet the review objectives, for
example, people with different skill sets or perspectives, who may use
the document as a work input
Testers are seen as valued reviewers who contribute to the review and
learn about the work product, which enables them to prepare more
effective tests, and to prepare those tests earlier