Unit Ii Levels of Testing
Unit Ii Levels of Testing
1. unit test,
2. integration test,
3. system test, and
4. acceptance test
At each level there are specific testing goals.
For example, at unit test a single component is tested.
Levels of Testing (Cont.,)
A principal goal is to detect functional and
structural defects in the unit.
At the integration level several components are
tested as a group, and the tester investigates
component interactions.
At the system level the system as a whole is
tested.
And a principle goal is to evaluate attributes
such as usability, reliability, and performance.
System test begins when all of the components
have been integrated successfully.
Levels of Testing (Cont.,)
Unit Testing
It is the smallest software component.
It can be characterized in several ways.
For example,
◦ It performs a single function;
◦ It can be compiled separately;
◦ It is a task in a work breakdown structure
(from the manager’s point of view);
◦ It contains code that can fit on a single page or
screen.
Unit test
A unit is a function or procedure in a procedural
programming language.
In object-oriented systems both the method and
the class/object.
It may also be a small-sized COTS.
Commercial-Off-the-Shelf (COTS) Component.
Products that are ready-made and available for
sale to the general public are known as
Commercial-Off-the-shelf component.
For example Microsoft office.
Unit Test (Cont.,)
Disadvantage
In depth functionality cannot be tested as
software is still under development stage.
BETA TESTING
Beta Testing of a product is performed by "real users"
of the software application in a "real environment"
and can be considered as a form of external user
acceptance testing.
Beta version of the software is released to a limited
number of end-users of the product to obtain feedback
on the product quality.
Beta testing reduces product failure risks and
provides increased quality of the product through
customer validation.
It is the final test before shipping a product to the
customers.
BETA TESTING
Traditional Beta testing: Product is distributed to the target
market, and related data is gathered in all aspects.
Public Beta Testing: Product is publicly released to the outside
world via online channels and data can be gathered from anyone.
Based on feedback, product improvements can be done. Example –
Windows 8.
Technical Beta Testing: Product is released to the internal
group of an organization and gather feedback/data from the
employees of the organization.
Focused Beta: Product is released to the market for gathering
feedback on specific features of the program.
Post release Beta: Product is released to the market and data is
gathered to make improvements for the future release of the
product.
BETA TESTING
Advantages
Reduces product failure risk via customer
validation.
Improves product quality via customer
feedback.
Disadvantages
Finding the right beta users and maintaining
their participation could be a challenge.
PHASES OF ALPHA & BETA
TESTS