Computer Science – 12.3 Program Testing and Maintenance | e-Consult
12.3 Program Testing and Maintenance (1 questions)
Here are three types of test data appropriate for the online banking application:
- Valid Data: This data represents realistic and correct input that should successfully pass through the system. The purpose is to verify that the application handles correct input and performs its intended functions as designed.
Example: A valid account number, a valid PIN, a valid amount to transfer (within account limits), a valid biller reference number. A user's own account details for balance checks.
- Boundary Value Data: This data focuses on the edges of acceptable input ranges. The purpose is to identify errors that occur at the limits of valid input.
Example: Account balances near the minimum and maximum allowed values, transfer amounts at the minimum and maximum limits, bill amounts just below and above acceptable thresholds, account numbers with the smallest and largest possible lengths.
- Invalid Data: This data is designed to test the application's error handling and robustness. The purpose is to ensure that the application gracefully handles incorrect or unexpected input and prevents crashes or security vulnerabilities.
Example: Incorrect account numbers, invalid PINs, negative transfer amounts, biller reference numbers with incorrect formats, exceeding account limits, attempting to transfer to a non-existent account, entering special characters where only numbers are expected.