Professional Documents
Culture Documents
Lecture No 12,13-SoftwareTestingMethods - Strategies
Lecture No 12,13-SoftwareTestingMethods - Strategies
Class :BSSE 6
Credit Hours ( 3)
Software Quality Engineering
Lecture #10, 11
Software Testing
REFERENCE BOOK:
2 03/09/23
After studying , student should be able to:
Testing Methods
Static
Dynamic
Black Box
White Box
Visual (GUI)
Testing Strategies
Unit Testing
Component Testing
Integration Testing
System Testing
Acceptance Testing
Alpha Testing
Beta Testing
V-Model of Software Testing
3 03/09/23
Testing Methods
Following are some Methods/Techniques
employed for software testing:
Static
Dynamic
Black Box
White Box
Visual (GUI)
4 03/09/23
Static Testing
Static testing is the
testing of the software work products manually, or with
a set of tools, but they are not executed.
It starts early in the Life cycle and so it is done
during the verification process.
It does not need computer as the testing of
program is done without executing the program.
For example: reviewing, walk through, inspection, etc.
5 03/09/23
Dynamic Testing
Dynamic testing is the testing of the dynamic behavior of
code.
It involves
working with the software,
giving input values and
checking if the output is as expected by executing specific test
cases which can be done manually or with the use of an
automated process.
It is done during Validation process.
The software is tested by executing it on computer.
Example: Unit testing, integration testing, system testing.
6 03/09/23
Black Box Testing
Black-box testing treats the software as a "black
box", examining functionality without any
knowledge of internal implementation.
The tester is only aware of what the software is
supposed to do, not how it does it.
It also known as Specification-based testing
technique or input/output driven testing
techniques because they view the software as a
black-box with inputs and outputs.
7 03/09/23
White Box Testing
White-box testing tests internal structures or
workings of a program
It is also know as Structure-based or ‘glass-box’
testing technique because here the testers require
knowledge of how the software is implemented,
how it works.
In white-box testing the tester is concentrating on
how the software does it.
8 03/09/23
Visual (GUI) Testing
GUI testing is the process of testing a product's
graphical user interface to ensure it meets its
written specifications.
For examples: testing images and buttons alignment on
any webpage.
9 03/09/23
Testing Strategies/Levels
Following the software testing strategies/levels
that encompasses all phases of SDLC.
Unit Testing
Component Testing
Integration Testing
System Testing
Acceptance Testing
Alpha Testing
Beta Testing
10 03/09/23
Unit Testing
A unit is the smallest testable part of an application
like functions/procedures, classes, interfaces.
11 03/09/23
Component Testing
Component testing is also known as module and
program testing.
Component testing is the phase in which
Individual software modules are tested to find defects in
the module and verifies the functioning of Software
Module.
Component testing may be done in isolation from
rest of the system depending on the development
life cycle model chosen for that particular
application.
12 03/09/23
Integration Testing
Integration testing is the phase in which
individual software modules are combined and tested as
a group to verify integrated system is ready for system
testing.
It occurs after unit testing and before validation
testing.
Integration testing is done by a specific
integration tester or test team.
13 03/09/23
System Testing
System testing is conducted on a complete,
integrated system to evaluate the system's
compliance with its specified requirements.
System testing falls within the scope of
black box testing, and as such, should require no
knowledge of the inner design of the code or logic.
System testing is most often the final test to verify
that the system to be delivered meets the
specification and its purpose.
System testing should investigate both functional
and non-functional requirements of the testing.
14 03/09/23
Acceptance Testing
After the system test has corrected all or most
defects, the system will be delivered to the user or
customer for acceptance testing.
Acceptance testing is a test conducted to
determine if the requirements of a specification or
contract are met prior to its delivery.
Acceptance testing is basically done by the user
or customer although other stakeholders may be
involved as well.
15 03/09/23
Alpha Testing
Alpha testing is simulated or actual operational
testing by potential users/customers or an
independent test team at the developers' site.
16 03/09/23
Beta Testing
It is also known as field testing.
It takes place at customer’s site.
It sends the system to users who install it and use
it under real-world working conditions.
A beta test is the second phase of software testing
in which a
sampling of the intended audience tries the product out.
Versions of the software, known as beta versions,
are released to a limited audience outside of the
programming team.
17 03/09/23
V-Model of Software Testing
18 03/09/23
Pros and Cons of V-Model
19 03/09/23
Summary
What are Testing Methods
Static
Dynamic
Black Box
White Box
Visual (GUI)
Different Testing Strategies/Levels
Unit Testing
Component Testing
Integration Testing
System Testing
Acceptance Testing
Alpha Testing
Beta Testing
V-Model of Software Testing
20 03/09/23
Key Terms
V-Model
Simulated
Glass-Box Testing
21 03/09/23