4. 4
Testing (SQA)
Testing is one of Software development’s greatest challenges
Selecting a right testing approach is as important as selecting right
software development techniques
SQA team members are not second-class citizens
Testing has become as much a professional discipline as development
Agile development techniques fully integrate testers in development team
No complete agreement on testing practices between academia and
industry
SS 2014 – Software Quality Assurance
6. 6
Course Outline
SS 2014 – Software Quality Assurance
Management View (Sir Adnan) Tester/Developer View (Dr. Moez)
Total Quality Management Software Quality Attributes
Software Testing Processes Functional/Behavioral (black-box) Testing
Reviews Junit Framework
CMMI / ISO Unit & Integration Testing Strategies
Six Sigma Structural Testing (white-box)
Software Configuration Management
7. 7
Course Organization
SS 2014 – Software Quality Assurance
Management View (Sir Adnan) Tester/Developer View (Dr. Moez)
One lecture per week
Section A:- Tuesday 11 –12:30
Section B:- Thursday 11 –12:30
One lecture per week
Section A:- Monday 11 –12:30, Room 2
Section B:- Tuesday 12:30 – 2, Room 2
Semester Work 20 Marks Semester Work 20 Marks
Final Exam 30 Marks Final Exam 30 Marks
8. Static Testing Example (I)
8SS 2014 – Software Quality Assurance
Sort Program Requirements
It is required to write a program that inputs a sequence of
values and outputs in a sorted sequence.
Is the Requirements Complete & Clear?
• Data type of input sequence
• Ascending or Descending or both option
Reviews are conducted for Static testing.
9. 9
import java.util.*;
public class PrintArrayList {
ArrayList al;
final String temp = "default";
public PrintArrayList() {
al.add("one"); al.add("two"); al.add("three");
}
/**
* An example of a method
* @param y a sample parameter for a method
* @return the sum of x and y
*/
public void samplemethod() {
for (int i=0; i<= al.size(); i++)
System.out.println(al.get(i));
}
}//end of class
SS 2014 – Software Quality Assurance
Static Testing Example (II)
Focus on coding
standards, document
ations, APIs
11. Text / Reference Books
Roger S. Pressman, Software Engineering A Practitioner’s
Approach , Seventh edition, McGraw-Hill, 2010
Rex Black, Pragmatic Software Testing: Becoming an
Effective and Efficient Test Professional, John Wiley & Sons
2007
Aditya P. Mathur, Foundations of Software Testing, 2008
11SS 2014 – Software Quality Assurance
12. 12
Attendance
80% attendance must be maintained in course
Allowed 20% absentees should be used in case of
illness, emergency, attending wedding etc.
SS 2014 – Software Quality Assurance