Types of Software Testing.
Types of Software Testing.
Unit testing.
It concentrates on the tiniest aspect of software development. This is where we
test a single unit or a collection of interconnected units. The programmer
frequently does this task by using sample input and seeing the accompanying
results.
Example:-
a) In a program we are checking if loop, method or
function is working fine
b) Misunderstood or incorrect, arithmetic precedence.
c) Incorrect initialization
2. Integration Testing
The goal is to take unit-tested components and use them to create a programme
structure that is dictated by design. Integration testing entails combining a
number of components to achieve a result.
Example:-
(a) Black Box testing:- It is used for validation.
In this we ignore internal working mechanism and
focus on what is the output?
(b) White Box testing:- It is used for verification.
In this we focus on internal mechanism i.e.
how the output is achieved?
3. Regression Testing
Every time a new module is added, the application is updated. This form of testing
ensures that the entire component functions properly, even after other components
have been added to the programme.
Example:-
In school record suppose we have module staff, students and finance combining these
modules and checking if on integration these module works fine is regression
testing.
4. Smoke Testing
This test ensures that the software under test is ready or stable for further
evaluation. It's termed a smoke test since it's used to see if it caught fire or
produced smoke when turned on for the first time.
Example:-
If project has 2 modules so before going to module 2 we have to make sure that
module 1 works properly.
5. Alpha Testing
Validation testing is what this is. It's a form of acceptability testing that takes
place before a product is made available to the public.
Example:-
When software testing is performed internally within the organization.
6. Beta testing
The beta test is carried out at one or more customer sites by the software's end-
user. This version is only available to a select group of people for real-time
testing.
Example:- When software testing is performed for the limited number of people like
a focus group.
7. System Testing
This software has been thoroughly tested to ensure that it is compatible with a
variety of operating systems. It's covered by the black box testing approach. We
only focus on the required input and output in this case, not on internal
operations.
Example:- This include functional as well as non functional testing.
8. Stress Testing
In this experiment, we put the system under unfavourable conditions and see how it
responds.
Example:-
(a) Test cases that require maximum memory or other
resources are executed
(b) Test cases that may cause thrashing in a virtual
operating system
(c) Test cases that may cause excessive disk requirement
9. Performance Testing
Its purpose is to evaluate software's run-time performance in the context of an
integrated system. It's used to see how fast and effective the programme is. It's
also known as load testing. It determines how well the system performs under a
particular load.
Example:- Checking number of processor cycles.
Thank you