3cs510ic24 - Stqa Minor Lect-8
3cs510ic24 - Stqa Minor Lect-8
Assurance
Lecture-8 Odd Sem 24-25
5th Semester – Minor Course
Prof. Daiwat Vyas
DELL , 15-11-2024, 05:31:41
• Incremental Integration:
• Interfaces that allow interaction between the user and the system.
• Example: The login screen of an application.
Types of Interfaces in Software Systems
• Hardware Interfaces:
• Database Interfaces:
• Database Interfaces:
• Communication Failure:
• Timing Issues:
• Coarse-Grained Testing:
• Example: For a mobile banking app, specify that testing will include
account management, transaction processing, and customer
support modules.
Test Planning for System Integration Testing
• Test Data Preparation:
• Environment Setup:
• Example: A test case for verifying that the cart, payment gateway,
and inventory modules work seamlessly together.
Real-Life Example: Payment Gateway Integration Testing
• Objective: Ensure that the payment gateway integration (PayPal, Stripe, etc.)
functions correctly when integrated with the e-commerce platform’s other
modules (cart, checkout, order confirmation).
• Modules to Integrate:
• Shopping cart
• Checkout process
• Payment gateway (PayPal, Stripe, etc.)
• Order confirmation system
Real-Life Example: Payment Gateway Integration Testing
• Test Environment
• Environment Setup:
– A staging environment closely replicating the production environment.
– Simulated third-party payment gateway (sandbox accounts for PayPal, Stripe).
– Database to log transactions, order details, and payment status.
• Configuration Requirements:
– Secure HTTPS environment.
– Active test accounts for PayPal and Stripe.
– Connectivity to external systems (e.g., email server for confirmation emails).
Real-Life Example: Payment Gateway Integration Testing
• Test Data Preparation
• Test Data:
• Valid Credit Card Details:
– Card numbers, expiry dates, and CVV numbers for testing successful
transactions.
• Invalid Credit Card Details:
– Expired cards, invalid numbers, and incorrect CVV for testing error
scenarios.
• Different Payment Methods:
– PayPal account, debit card, credit card, Stripe account.
Real-Life Example: Payment Gateway Integration Testing
• Test Scenarios
• Scenario 1: Successful Payment with PayPal