-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This document contains the test cases for the bank account management system. Before running the test cases, please read the README.md file. For template, refer to Test template.
ID: abe4c5c1
Priority: 0
Test coverage item: Feature 1
Purpose: to test if a user can create a new bank account.
Name | Description |
---|---|
Preconditions | - The user should be logged in. - It should not have a bank account with input type already. |
Inputs | Account type: - checking - saving |
Expected results | A new bank account is created for that user. |
ID: 1b2c3d4e
Priority: 1
Test coverage item: Feature 2
Purpose: to test if a user can get information about his bank accounts.
Name | Description |
---|---|
Preconditions | The user should be logged in. |
Inputs | Account type: - open - closed - all |
Expected results | A list of all bank accounts of that user is displayed. |
ID: 5f6g7h8i
Priority: 2
Test coverage item: Feature 3
Purpose: to test if a user can deposit money into his bank account.
Name | Description |
---|---|
Preconditions | The user should be logged in. |
Inputs | - Account ID of an open account. - Amount, which should be greater or equal to 1. |
Expected results | Bank account balance is increased by the amount. |
ID: 9j0k1l2m
Priority: 3
Test coverage item: Feature 4
Purpose: to test if a user can withdraw money from his bank account.
Name | Description |
---|---|
Preconditions | - The user should be logged in. - Account balance should be greater or equal to input amount. |
Inputs | - Account ID of an open account. - Amount, which should be greater or equal to 1. |
Expected results | Bank account balance is decreased by the amount. |
ID: 3n4o5p6q
Priority: 3
Test coverage item: Feature 5
Purpose: to test if a user can close his bank account.
Name | Description |
---|---|
Preconditions | The user should be logged in. |
Inputs | Account ID of an open account. |
Expected results | Bank account is closed. |