Professional Documents
Culture Documents
Unit III Levels of Testing
Unit III Levels of Testing
LEVELS OF TESTING
The Need for Levels of Testing :
Levels of Testing and Software
Development Paradigms
• Functional testing
• Performance testing
• Stress testing
• Configuration testing
• Security testing
• Recovery testing
• Two other types of system testing called
reliability and usability testing.
Functional Testing
• Functional tests at the system level are used to ensure that
the behavior of the system adheres to the requirements
specification.
• All functional requirements for the system must be
achievable by the system.
• For example, if a personal finance system is required to
allow users to set up accounts, add, modify, and delete
entries in the accounts, and print reports, the function-
based system and acceptance tests must ensure that the
system can perform these tasks.
• Clients and users will expect this at acceptance test time.
• Functional tests are black box in nature. The focus is
on the inputs and proper outputs for each function.
The tests should focus on the following goals.
• All types or classes of legal inputs must be accepted by
the software.
• All classes of illegal inputs must be rejected (however,
the system should remain available).
• All possible classes of system output must exercised
and examined.
• All effective system states and state transitions must
be exercised and examined.
• All functions must be exercised.
Performance Testing
• An examination of a requirements document
shows that there are two major types of
requirements:
• 1. Functional requirements.
• 2. Quality requirements.
Stress Testing
• When a system is tested with a load that
causes it to allocate its resources in maximum
amounts, this is called stress testing.
• The goal of stress test is to try to break the
system; find the circumstances under which it
will crash. This is sometimes called “breaking
the system.”
Configuration Testing
• Configuration testing allows developers/
testers to evaluate system performance and
availability when hardware exchanges and
reconfigurations occur.
• Configuration testing also requires many
resources including the multiple hardware
devices used for the tests.
• According to Beizer configuration testing has
the following objectives:
• Show that all the configuration changing
commands and menus work properly.
• Show that all interchangeable devices are really
interchangeable, and that they each enter the
proper states for the specified conditions.
• Show that the systems’ performance level is
maintained when devices are interchanged, or
when they fail.
• Security Testing
• Configuration testing
• Alpha and Beta , Accepatance Testing