Testing Basics
Testing Basics
Code
Objective of Testing
Primary role of testing is not demonstration of correct
performance but the exposure of hidden defects
Testing is executing a program with an intend of
finding Fault/Error and Failure.
Error: Human Action that produces an in correct
result.
Fault: Manifestation of an error in software. (also
called defect or Bug)
Failure: Deviation of the software from its expected
delivery or service.
What is Quality?
Quality Assurance
It is a planned and systematic pattern of all actions
necessary to provide adequate confidence that an item or
product conforms to established technical requirements. A
Set of activities designed to evaluate the process by which
products are developed or manufactured.
Quality Control
Set activities designed to evaluate the quality of
developed or manufactured products.
It is the process which product compares quality with
applicable standard.
Verification
It is the process of evaluating a system or component to
determine whether the products of a given development
phase satisfy the conditions imposed at the start of that
phase.
Validation
It is the process of evaluating a system or component
during or at the end of the development process to
determine whether it satisfies specified requirements.
Static Testing
It is the process of evaluating a system or component
based on its form, structure, content or documentation
without computer program execution.
Requirement
It is a statement of what the data and Software should
perform.
Function
It is a desirable behavior of a requirement.
Test Baselines
2 Areas of Testing
•Equivalence Class
•Error Guessing
Equivalence Class:
Error Guessing:
Why do we go for white box testing when black box testing is used
to find defects?
Approach
V-Model
Integration Testing:
The primary objective of integration testing is to discover
errors in the interfaces between Modules / Sub-Systems.
Approach:
Top-Down Approach.
Bottom-Up Approach.
System Testing:
USER
ACCEPTANCE
TESTING
What is USER?
What is ACCEPTANCE?
What is TESTING?
Test Condition
Test Case
Test Script
Type of Testing
GUI Testing
Functional Testing
Backend Testing
Regression Testing
Performance Testing
Interface Testing
Load Testing
Testing a system by increasing the load i.e., by
creating many virtual users. The response time will
be calculated.
The creation of a simulated "load" on a real computer
system by using virtual users who submit work as
real users would do at real client workstations and
thus "testing" the system's ability to support such a
workload. The virtual users are in software running
on a "driver machine" or "injector".
Stress Testing
Regression Testing
–Schedule Risk: Factors that may affect the schedule of testing are
discussed.
–Technology Risk: Risks on the hardware and software of the
application are discussed here
–Resource Risk: Test team availability on slippage of the project
schedule is discussed.
–Support Risk: Clarifications required on the specification and
availability of personnel for the same is discussed.
Kick of meeting
Developing Test Strategy
Assigning Responsibilities
Application Understanding
Internal Presentation
Test Strategy
•Test Condition
•Test Case
•Test Script
•Data Guidelines
•Activity Schedule
•Trace ability Matrix
Defect Recording
•Defect recording to describe and quantify deviations from
requirements.
Defect Reporting–
•Reporting the status of Defects including Severity and
location.
•
Defect Tracking –
•Monitoring Defects from the time of recording until
satisfactory resolution has been determined
Defect Recording
•Raised
When defect is found, it will be in raised status.
•Authorized
When Client authorizes as a defect then the status
Will change as authorized.
•Fixed
When developer fixes the defect, then the status
Will change as fixed
•Deferred
If Client takes the call and defer it for next release,
Then it is Deferred Status.
•Re-raised
If defect reappears in re test, then it is re-raised
Status.
Defect Severity
•Critical
The impact of this defect is severe and the system cannot go
to Production Environment or for User Acceptance Testing without
resolving the defect.
• Major
The Impact of this defect is severe, however an interim solution is
available. The defect neither should nor hinder the test process.
• Minor
All defects that are not in the ‘X’ or ‘C’ Category.
Test Metrics
Defect Metrics
Your role