Skip to content

Instantly share code, notes, and snippets.

@abachar
Last active January 23, 2023 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 37 You must be signed in to fork a gist
  • Save abachar/d20bdcd07dac589feef8ef21b487648c to your computer and use it in GitHub Desktop.
Save abachar/d20bdcd07dac589feef8ef21b487648c to your computer and use it in GitHub Desktop.
Bank account kata (Sandro Mancuso)

Bank account kata

Think of your personal bank account experience When in doubt, go for the simplest solution

Requirements

  • Deposit and Withdrawal
  • Account statement (date, amount, balance)
  • Statement printing

User Stories

US 1:

In order to save money
As a bank client
I want to make a deposit in my account

US 2:

In order to retrieve some or all of my savings
As a bank client
I want to make a withdrawal from my account

US 3:

In order to check my operations
As a bank client
I want to see the history (operation, date, amount, balance) of my operations

@ihrimech
Copy link

Hello,

Some questions that comes to my mind :

  • Is there any interface needed ? Which type of interface ?
  • Any technical restriction to take into account ?

Regards

@abachar
Copy link
Author

abachar commented Nov 30, 2017

No UI needed and no technical restriction, as client i specified my requirements and it's up to you to suggest the best solution

@abachar
Copy link
Author

abachar commented Nov 30, 2017

Please do not add link to your solution in comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment