Unit 2
Unit 2
UNIT 2
OBJECTIVES
Uncover as many as errors (or bugs) as possible in a
given product.
Demonstrate a given software product matching its
requirement specifications.
Validate the quality of a software testing using the
minimum cost and efforts.
Generate high quality test cases, perform effective tests,
and issue correct and helpful problem reports .
Error, Bug, Fault & Failure
Design
Maintenance
Test Case
It is a specific procedure of testing a particular requirement.
It will include:
Identification of specific requirement tested
Test case success/failure criteria
Specific steps to execute test
Test data
Verification vs Validation
• Validation : The process of evaluating software at the end
of software development to ensure compliance with
intended usage
The software should do what the user really requires (Are
we building the right product?)
requirements
output
input
events
White box testing
Test data
Tests Derives
Component Test
code outputs
Testing Levels
•Unit testing
•Integration testing
•System testing
UNIT TESTING
Types:
Alpha Testing
Beta Testing
Acceptance Testing
Performance Testing
Alpha Testing
It is carried out by the test team within the developing
organization .
Beta Testing
It is performed by a selected group of friendly customers.
Acceptance Testing
It is performed by the customer to determine whether to accept
or reject the delivery of the system.
Performance Testing
It is carried out to check whether the system meets the
nonfunctional requirements identified in the SRS document.
Types of Performance Testing:
Stress Testing
Volume Testing
Configuration Testing
Compatibility Testing
Regression Testing
Recovery Testing
Maintenance Testing
Documentation Testing
Usability Testing
Stress Testing
• Definition of Stress Testing: Stress testing evaluates
system resilience and performance by simulating
extreme load conditions beyond normal operational
limits.
• Key Objectives: The primary goals include
identifying breaking points, verifying stability, and
assessing recovery capabilities under pressure.
• Common Tools: Popular stress testing tools
encompass Apache JMeter, LoadRunner, and
Gatling, each offering unique functionality for
simulations.
Volume Testing