Introduction to software testing

10
Software Testing & Quality Assurance Lecture 1 Introduction to software testing 1

Transcript of Introduction to software testing

Page 1: Introduction to software testing

Software Testing & Quality

AssuranceLecture 1

Introduction to software testing

1

Page 2: Introduction to software testing

Outcomes:

Understanding the concept of software faults.

Some sources of software faults including examples.

Definition of software testing including verification and validation.

Some main principles of software testing.

Why to test?

Testing Activities.

2

Page 3: Introduction to software testing

Understanding software faults

Faults in software may cause:

Loss incurred by companies.

Loss of lives.

Loss of confidence of stakeholders

3

Page 4: Introduction to software testing

Sources of faults

Improper requirement engineering.

Flaws in design.

Inadequate testing.

Evolution of software: addition of new features may introduce new faults.

4

Page 5: Introduction to software testing

Software Testing

A process or set of activities to prove quality of software to stakeholders.

Verification and validation is part of testing.

5

Page 6: Introduction to software testing

Verification(product right)6

SOFTWARE X

X

FUNCTIONALITY

Page 7: Introduction to software testing

Validation (Right product)

Making sure software provide traceable requirements.

7

Page 8: Introduction to software testing

Principles

Good test case helps to find bugs.

Successful test helps to find undiscovered errors.

Testing is destructive and is followed by debugging.

Testing cannot find all defects.

8

Page 9: Introduction to software testing

Testing & confidence

Increase % bugs found, the higher is the confidence.

9

Page 10: Introduction to software testing

Standard Testing Activities

Model the environment.

Select test scenarios.

Test and evaluate.

Measure testing progress.

10