Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Withdraw Money User Story #3

Closed
eshwarhs opened this issue Sep 15, 2024 · 0 comments
Closed

Withdraw Money User Story #3

eshwarhs opened this issue Sep 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@eshwarhs
Copy link
Owner

As a bank account holder, I want to withdraw money from my account.

Acceptance Criteria:

Scenario 1: Successful Withdrawal

Given a user has an existing account with sufficient funds,
When he requests to withdraw an amount,
Then the account balance should be decreased by the withdrawn amount.

Scenario 2: Insufficient Funds

Given a user attempts to withdraw more money than the account balance,
When he requests to withdraw an amount,
Then the system should reject the request and return an error message.

Scenario 3: Invalid Withdrawal Amount

Given a user attempts to withdraw a negative amount,
When he requests to withdraw an amount,
Then the withdrawal has to be rejected with an error message.

Scenario 4: Invalid account

Given a user attempts to withdraw money from an invalid account,
When he requests to withdraw an amount,
Then the withdrawal has to be rejected with an error message.

@eshwarhs eshwarhs added the enhancement New feature or request label Sep 15, 2024
@eshwarhs eshwarhs closed this as completed by moving to Done in Bank Account Demo Project Sep 16, 2024
@eshwarhs eshwarhs reopened this Sep 16, 2024
@eshwarhs eshwarhs reopened this Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant