Professional Documents
Culture Documents
Fundamentals of Testing
by
K.N.Sasidhar
Fundamentals of Testing
Cost of Errors
May vary from nothing at all to large amount of money loss
and even loss of life.
A single failure can cost nothing or a lot. Software in safetycritical systems can cause death or injury if it fails.
Ex:
Online trading systems: $100,000 per minute revenue loss
Quality Control :
is the activity performed to ensue that a Product is fit for
Purpose .
Quality Assurance:
is the activity performed to test the process is being
followed
Quality Management:
Responsible choosing the correct process to ensure that the
product is fit for purpose.
What is Testing ?
Definition
Common objectives of testing
Purpose of testing at different phases of SDLC
Testing Definition
The Process of exercising software to verify that
it satisfies specified requirements and to detect
errors
BS 7925-1
Testing is :
- a Risk reduction process
- aimed at discovering faults
- an iterative process
- the measurement of quality
Test Planning
Test Analysis and Design
Test implementation and execution
Test Recording
Checking for test completion(Exit criteria)
Why do we test ?
Primarily to find faults in the software
This can be perceived as being a destructive
process,not constructive
How does this fit with the mind set of the
developer and tester ?
Developer characteristics ?
Specialized
Creative
Valued by the organisation
Trained
Sensitive to criticism
Testers characteristics:
Methodical
Happy when they are finding faults
Under-valued by the organisation
Not always intended to be a tester
Good communicators
Need to be multi-talented
Tact & diplomacy are essential
Test Independence
Independent testing is more effective.
The author should not test their own work
-Assumptions made are carried into testing
-People see what they want to see
-There can be emotional attachment with
the product
- Were human
Levels of Independence
Where test cases are
- designed by the person who writes the
software under test
- designed by another person
- designed by people from another department
- designed by people from another
organisation
- not chosen by a person
Expected Results
What are expected results ?
-They are expected outcome of a test
-The outcome may include output
-It is the identification of the desired behavior of a test
-They are determined before a test is executed
Outcome is everything you expect to happen and
output is physical output ( ex:Database changes and
table changes)
Outcome of a test may include a physical output.
Prioritisation of tests
Why do we need to Prioritise?
How do we Prioritise? What is the Criteria?
Prioritisation basis:
- Business criticality
- Severity of potential failure
- Visibility of failure
- Likelihood of error
- User requirements and priorities
- Technical criticality and complexity
- contractual requirements / Compliance
requirement