ST Unit-3-2
ST Unit-3-2
ST Unit-3-2
basu..
Unit-3 Software Testing GTET
basu..
Unit-3 Software Testing GTET
basu..
Unit-3 Software Testing GTET
basu..
Unit-3 Software Testing GTET
basu..
Unit-3 Software Testing GTET
4) Transaction Processing:
• Verify that transactions initiated by users are correctly processed and
updated in the system.
• Test various transaction types such as balance inquiry, cash withdrawal,
fund transfer, etc., ensuring each transaction is processed accurately.
5) Account Management:
• Test the functionality related to account creation, modification, and
deletion.
• Ensure that account information is correctly retrieved and updated during
transactions.
6) Cash Handling:
• Test cash dispensing functionality to ensure the correct amount is
dispensed for withdrawals.
• Verify that the ATM accurately tracks the cash available in the machine and
handles low cash scenarios appropriately.
7) Error Handling:
• Test how the system handles errors such as invalid inputs, insufficient
funds, network failures, etc.
• Verify that appropriate error messages are displayed to users and
transactions are rolled back or halted when necessary.
8) Concurrency Testing:
• Check how the system handles multiple transactions occurring
simultaneously, ensuring data integrity and proper synchronization.
9) Security Testing:
• Verify that the system enforces proper security measures such as user
authentication, encryption of sensitive data, and protection against
unauthorized access.
9) Performance Testing:
• Evaluate the system's response time, throughput, and resource utilization
under normal and peak loads.
• Ensure that the ATM system can handle a reasonable number of concurrent
users without degradation in performance.
10) Regression Testing:
basu..
Unit-3 Software Testing GTET
After making changes or fixes to the system, re-run integration tests to ensure that
existing functionalities have not been adversely affected.
11) Mocking and Stubs:
Use mocks or stubs to simulate the behavior of external dependencies such as
banking systems or network services during testing.
12) Documentation:
• Document integration test cases, including inputs, expected outputs, and
actual results, for future reference and maintenance.
Test Scenario Expected Outcome Actual Outcome Pass/Fail
Transaction Processing module
User enters correct verifies credentials, allows access
account number and to account, and prompts for Transaction proceeds as
PIN transaction. expected. Pass
Transaction Processing module
User enters incorrect rejects access, displays error Error message displayed, access
PIN message. denied. Pass
basu..
Unit-3 Software Testing GTET
basu..
Unit-3 Software Testing GTET
basu..
Unit-3 Software Testing GTET
Pairwise integration
Pairwise integration testing is a method used in software testing where modules
or components are integrated and tested in pairs.
Modules are grouped into pairs based on certain criteria, such as dependencies,
functionality, or criticality.
Each pair typically consists of two modules that need to interact with each other
to perform a specific task or function.
This approach focuses on testing the interactions between pairs of modules.
Advantages
• Saves time compared to testing every possible combination.
• Catches important problems early in the development process.
• Focuses testing efforts on critical module interactions, saving resources.
• Easier to manage than testing every combination, keeping testing
straightforward.
• Helps ensure the final product works well and is reliable.
Neighbourhood Integration
refer to a testing approach where components or modules that are closely related
or neighbouring in terms of functionality, dependencies, or system architecture
are integrated and tested together as a group.
• Concentrates on specific, closely related parts of the software.
• Helps find and fix problems early in development.
• Saves time and resources by testing only critical areas.
• Enhances teamwork between developers working on related components.
• Helps developers grasp how different parts of the software work together.
Path-based integration
Path-based integration testing is a software testing approach where tests are
designed and executed based on the paths through which data or control flows
within a software system during its operation.
Identify integration issues, such as data inconsistencies, interface mismatches, or
control flow errors, as early as possible in the development process.
This method focuses on identifying different sequences of operations or functions
that the software can take and then designing tests to cover these paths.
basu..
Unit-3 Software Testing GTET
basu..