Академический Документы
Профессиональный Документы
Культура Документы
- By Vishal Gupta
Myths Vs Facts
Myths :
Facts:
Software Testing
Sanity Testing
Functional Testing
Integration Testing
Regression Testing
Stress Testing
Load Testing
Performance Testing
Solution Testing
How to do testing??
FAQ in Testing
What is the use of Automation in Testing?
It reduce time in testing cycle.
Automation find Regression issue quickly.
Verification Vs Validation
Verification:
Validation:
13
15
Testing process
input
P
subset of
input
test
strategy
compare
subset of
input
oracle
expected
output
16
real
output
test
results
17
design
functional and structural tests can be devised on the basis of the
decomposition
the design itself can be tested (against the requirements)
formal verification techniques
SE, Testing, Hans van Vliet,
2008 the architecture
can be evaluated18
19
Example checklist
Wrong use of data: variable not initialized, dangling
pointer, array index out of bounds,
Faults in declarations: undeclared variable, variable
declared twice,
Faults in computation: division by zero, mixed-type
expressions, wrong operator priorities,
Faults in relational expressions: incorrect Boolean
operator, wrong operator priorities, .
Faults in control flow: infinite loops, loops that
SE, Testing, Hans van Vliet,
20
execute
n-1
or
n+1
times
instead of n, ...
2008
Levels of Testing
Unit Testing
Integration Testing
Validation Testing
Regression Testing
Alpha Testing
Beta Testing
Acceptance Testing
Unit Testing
Algorithms and logic
Data structures (global and local)
Interfaces
Independent paths
Boundary conditions
Error handling
Top-Down Integration
1. The main control module is used as a driver,
and stubs are substituted for all modules
directly subordinate to the main module.
2. Depending on the integration approach
selected (depth or breadth first), subordinate
stubs are replaced by modules one at a time.
Bottom-Up Integration
Integration begins with the lowest-level modules, which
are combined into clusters, or builds, that perform a
specific software subfunction
Drivers (control programs developed as stubs) are written
to coordinate test case input and output
The cluster is tested
Drivers are removed and clusters are combined moving
upward in the program structure
Validation Testing
Determine if the software meets all of the requirements
defined in the SRS
Having written requirements is essential
Regression testing is performed to determine if the
software still meets all of its requirements in light of
changes and modifications to the software
Regression testing involves selectively repeating existing
validation tests, not developing new tests
Acceptance Testing
Similar to validation testing except that
customers are present or directly
involved.
Usually the tests are developed by the
customer
Test Methods
White box or glass box testing
Black box testing
Top-down and bottom-up for performing
incremental integration
ALAC (Act-like-a-customer)
A simple example
Consider a program that reads the age of each
person here and computes the average age of the
people.
input (s) Program output: average age
How would you test this?
How many test cases would you generate?
What type of test data would you input to test this
program?
Srihari Techsoft
Objectives of testing
Executing a program with the intent of finding an
error.
To check if the system meets the requirements and
be executed successfully in the Intended
environment.
To check if the system is Fit for purpose.
To check if the system does what it is expected to
do.
Srihari Techsoft
Objectives of testing
A good test case is one that has a probability of
finding an as yet undiscovered error.
A successful test is one that uncovers a yet
undiscovered error.
A good test is not redundant.
A good test should be best of breed.
A good test should neither be too simple nor too
complex.
Srihari Techsoft
Action
Do
Check
Srihari Techsoft
Quality Assurance
Quality Control
Quality Assurance
Quality Control
Verifies if specific
attributes are in a specific
product or Service
Identifies weaknesses in
processes and improves
them.
Responsibilities of QA and QC
QA is the responsibility of
the entire team.
QC evaluates if the
application is working for the
primary purpose of
determining if there is a flaw /
defect in the functionalities.
Srihari Techsoft
Responsibilities of QA and QC
QC improves the
development of a specific
product or service.
Integration testing
Integration testing can be of two type:
1.Bottom up integration testing.
2.Top down integration tesing
Thank You