Unit-I

Fundamentals of testing:

Necessity of testing , what is it, Testing principles, Fundamental test process, The psychology of testing

Unit-II

Testing throughout the software life cycle: Software development models, Test levels, Test types: the targets of testing, Maintenance testing

Unit-III

Static techniques:

Reviews and the test process, Review process, Static analysis by tools

Unit-IV

Test design techniques: Identifying test conditions and designing test cases, Categories of test design techniques, Specification-based or blackbox techniques, Structure-based or white-box techniques, Experiencebased techniques

Unit-V

Test management: Test organization, Test plans, estimates, and strategies, Test progress monitoring and control, Configuration management, Risk and testing, Incident management

Unit-VI

Tool support for testing: Types of test tool, Effective use of tools:

Potential benefits and risks, Introducing a tool into an organization

Practicals:

1. You have got the brilliant idea of setting up a company that sells testing services to software houses. Make a strategic plan for your company, taking into account the following issues:

• What is the testing process that will be followed in the company?

• What is the focus of the testing services?

• What kind of people are you going to hire as staff for the company?

• How are you going to validate that a testing project carried out in the company has been beneficial to the customer?

• What kind of automated tools will the company use?

2. Prepare a small project and submit SRS, design, coding and test plan.

3. The program reads an arbitrary number of temperatures (as integer numbers) within the range 60°C … +60°C and prints their mean value. Design test cases for testing the program with the black-box strategy.

4. When getting a person’s weight and height as input, the program prints the person’s body weight index. The weight is given in kilograms (as a real number, for instance: 82,0) and the height in meters (as a real number, for instance: 1,86). The body weight index equals weight divided by height squared: weight / (height ´height). Design test cases for testing the program with the black-box strategy.

5. Let us study the following program:

x=0; read(y); while (y > 100) { x=”x+y;” read(y); } if (y < 200) print(x) else print(y);

a) Construct a control-flow graph for the program.

b) Design test cases for reaching complete branch coverage over the program. Use as few test cases as possible.

6. Design test cases for the following program with the “simple loop” strategy:

x=0; read(y);

while ((y > 100) && (x < 10)) { x=”x+1;” read(y); } print(y);

a) Construct a data-flow graph for the program with respect to variable x.

b) Which execution paths have to be traversed during testing, in order to reach complete alldefinitions coverage with respect to variable x?

c) Minimize the number of paths and tests.

d) Which execution paths have to be traversed during testing, in order to reach complete alluses coverage with respect to variable x? Minimize the number of paths and tests.

e) Design test cases for reaching the (minimal) complete all-uses coverage with respect to variable x.

7. MANUAL TESTING for the project

a) Walkthrough

b) Whitebox Testing

c) Blackbox Testing

d) Unit Testing

e) Integration Testing

8. Functional Testing

a) Boundary value Testing

b) Equivalence class testing

c) Decision Table based testing

d) Cause-effect graphs

9. Regression Testing using automated testing for website.

10. AUTOMATED TESTING for websites

a) Load Testing

b) Performance Testing

Books:

B1: Software Testing Foundations, 2nd Edition By Hans Schaefer, Andreas Spillner, Tilo Linz,

Shroff Publishers and Distributors

(Unit I: Chapter 1,2, Unit II: Chapter 3, Unit III: Chapter 4,  Unit IV: Chapter 5,  Unit V:

Chapter 6, Unit VI: Chapter 7) 

B2: FOUNDATIONS OF SOFTWARE TESTING by Dorothy Graham, Erik van Veenendaal,

Isabel Evans, Rex Black

(Unit I: Chapter 1, Unit II: Chapter 2, Unit III: Chapter 3,  Unit IV: Chapter 4,  Unit V: Chapter 5, Unit VI: Chapter 6) 

References:

Software Testing by Yogesh Singh, Cambridge University Press

Software Testing Principles, Techniques and Tools, M.G. Limaye, TMH,

Software Testing A Craftman’s Approach, Second Edition, Paul C. Jorgensen, CRC PressIntroduction to Software Testing, Paul Ammann, Jeff Offutt, Cambridge University Press. Managing the Testing Process: Practical Tools and Techniques for Managing Hardware and Software Testing, Rex Black, Wiley.

Software Testing, Second Edition, Ron Patton, SAMS

Download Ebook – Software Testing [PDF]