The University of Lahore
A “W4” Category University07/10/2020 1
Lecture 16
CHAPTER 3
The University of Lahore
A “W4” Category UniversityChapter Contents
Review Process
The University of Lahore
A “W4” Category University07/10/2020 3
What is software testing?
The University of Lahore
A “W4” Category University07/10/2020 5
Two Approaches of Software Testing
The University of Lahore
A “W4” Category UniversityStatic Testing
1. Testing of a component without executing the
software.
2. During static testing, software work products are
examined manually, or with a set of tools, but not
executed.
The University of Lahore
A “W4” Category University07/10/2020 7
Static Testing Examples
Example 1
int a,b; ---> STATIC CODE
printf("\n Enter the values for a & b "); ---> STATIC CODE scanf("%d5d",&a,&b); ---> STATIC CODE
The University of Lahore
A “W4” Category University07/10/2020 9
Types of Defects that are easier to find
during static testing are:
1- Deviation from standards
2- Missing requirements
3- Design defects
The University of Lahore
A “W4” Category University1. Static testing can start early, thus early feedback on quality issues can be established
2. By detecting defects at an early stage, rework costs are most often relatively low
3. Since rework effort is reduced, development productivity figures are likely to increase
4. The evaluation by a team has the additional advantage that there is an exchange of information between the participants
5. Static tests contribute to an increased awareness of quality issues
The University of Lahore
A “W4” Category University07/10/2020 11
Dynamic Testing
The inverse of static testing is a dynamic testing, in
which code is executed.
Testing that involves the execution of the software
The University of Lahore
A “W4” Category University1. Dynamic testing (or dynamic analysis) is a term used in software engineering to describe the testing of the dynamic behavior of code.
2. In dynamic testing the software must actually be compiled and run.
3. Dynamic Testing involves working with the software, giving input values and checking if the output is as expected. These are the validation activities.
The University of Lahore
A “W4” Category UniversityThe University of Lahore
A “W4” Category University07/10/2020 15
Dynamic testing is not applicable on majority of software products.
QUESTIONS:
1- How can we evaluate a requirement document? 2- How can we evaluate design document?
3- How can we evaluate test plans?
4- How can we evaluate user manuals?
The University of Lahore
A “W4” Category University“An evaluation of a product or project status to
discover
discrepancies
(difference between two things
that should be same)
from planned results and to
recommend improvements.”
Review
The University of Lahore
A “W4” Category University07/10/2020 17
Benefits of reviews include:
1. Early defect detection and correction
2. Development productivity improvements
3. Reduced development timescales
4. Reduced testing cost.
The University of Lahore
A “W4” Category UniversityInformal Review:
1. A two-person team can conduct an informal review, as the author ask the colleagues to review a document or code.
The University of Lahore
A “W4” Category University07/10/2020 19
3. This review involves peer of author, who try to find defects in the document under review and discuss these defects in a review meeting.
4. The goal is to help the author and to improve the quality of the document.
The University of Lahore
A “W4” Category UniversityYou must consider the following points
1.Review the Product not the author
2.Focus on Defects
The University of Lahore
A “W4” Category University07/10/2020 21
The Author
The writer of the document under review.
Moderator (inspection leader)
The leader and main person responsible for an inspection or other review process.
Reviewer (inspector)
The University of Lahore
A “W4” Category UniversityPeer Review
The University of Lahore
A “W4” Category University07/10/2020 23
What is the entry criteria?
1. The entry criteria is a checklist or combination of checklists that includes the “developers checklist” and “testers checklist”
The University of Lahore
A “W4” Category University07/10/2020 25
What is the entry criteria?
3. Using these checklists, before the start of the peer review, the developer, tester and facilitator can determine if all the
documents, reports, code or software products are ready to be reviewed, if the peer review’s attendees are prepared to inspect them.
The University of Lahore
A “W4” Category UniversityWhat is the entry criteria?
The facilitator’s script for the entry criteria includes the following questions:
1. Are all the required attendees present at the peer review?
2. Have all the attendees received all the relevant documents and reports?