Module 4 Sepm Vansh
Module 4 Sepm Vansh
Module 4
RELEASE TESTING
Release testing is a type of software testing done before a system is delivered
to customers or users. The main purpose is to ensure that the software is ready
for use and meets the required standards of functionality, performance, and
reliability. Unlike system testing, which is done by the development team to
find bugs, release testing is conducted by a separate testing team to validate
the system before release.
1. Requirements-Based Testing
BY VANSH NEGGI ( CSE DEPT. )
What is it?
This is about checking if the system does what it’s supposed to do, based
on the requirements (a list of things the system must do).
It is done in the following ways :-
o First, make sure every requirement is testable (you can create a
test for it).
o Then, create tests for each requirement.
o Finally, run those tests and check if the system passes them.
Example:
Let’s say you’re testing a medical system. One requirement is:
o If a patient is allergic to a medication, the system should show a
warning.
1. Test with a patient who has no allergies: Prescribe a medication
and check that no warning appears.
2. Test with a patient who has a known allergy: Prescribe the allergic
medication and check that a warning appears.
3. Test what happens if the doctor ignores the warning: Make sure
the system asks for a reason why the warning was ignored.
This way, you’re checking that the system meets the requirement in different
situations.
2. Scenario Testing
What is it?
This is about testing the system using real-life stories (scenarios) of how
users might use it.
Scenarios should be realistic and real system users should be able to
relate to them.
How is it done?
o Create realistic scenarios (stories) that describe how the system
might be used.
BY VANSH NEGGI ( CSE DEPT. )
3. Performance Testing
What is it?
This is about checking if the system can handle the workload it’s
supposed to handle. For example, can it process 100 transactions per
second without slowing down or crashing?
How is it done?
o Test the system under normal conditions (e.g., 100 transactions
per second).
o Gradually increase the load (e.g., 200, 300 transactions per
second) to see when the system starts to slow down or fail.
BY VANSH NEGGI ( CSE DEPT. )
DEVELOPMENT TESTING
It is testing done by the development team during software
development.
It helps find and fix bugs before deployment.
There are three levels of development testing:
1. Unit Testing – Testing individual functions or classes.
BY VANSH NEGGI ( CSE DEPT. )
Simulate States: Test the object in all possible states. For example, a
weather station can be in "Running" or "Shutdown" states, and unit tests
should verify its behavior in each state.
Below are the application access details, which is given by the customer
o URL→ login Page
o Username/password/OK → home page
o To reach Amount transfer module follow the below
Loans → sales → Amount transfer
While performing unit testing, we should follow some rules, which are as
follows:
o To start unit testing, at least we should have one module.
o Test for positive values
o Test for negative values
o No over testing
o No assumption required
When we feel that the maximum test coverage is achieved, we will stop the
testing.
Now, we will start performing the unit testing on the different components
such as
o From account number(FAN)
o To account number(TAN)
o Amount
o Transfer
o Cancel
VALUES Description
1234 accept
Component Testing
Component testing is a crucial step in software development where we check if
individual parts of a system, called components, work correctly. These
components are often made up of smaller pieces, or objects, that interact with
each other. For example, in a weather station system, a component might
BY VANSH NEGGI ( CSE DEPT. )
handle reconfiguration, and it could include objects that manage different tasks
like adjusting settings or updating sensors.
The individual parts of the component are already tested separately through
unit testing, so component testing ensures that they work properly when
combined.
Example: If components A, B, and C are merged into a larger system, testing is
done on their combined interface, not on each part separately, because some
errors only appear when they interact.
Types of Interfaces
There are different ways in which components can interact, leading to different
types of interfaces:
1. Parameter Interface – One component passes data (or function
references) to another. This is common in methods inside objects.
2. Shared Memory Interface – Multiple components access the same
memory area. One component writes data, and another reads it. This is
often used in embedded systems, where sensors generate data that
other components use.
BY VANSH NEGGI ( CSE DEPT. )
System Testing
System testing is performed during development by integrating different
components to create a working version of the system. Once integrated, the
system is tested to check if all components work together correctly.
Purpose of System Testing
Ensures that different parts of the system communicate properly and
transfer the correct data.
It is similar to component testing but has key differences:
1. System testing includes pre-built components (such as off-the-
shelf software) along with newly developed ones.
2. Different teams or individuals may have built various components,
so system testing is a collaborative effort.