Skip to content

Instantly share code, notes, and snippets.

@xpepper
Forked from abachar/kata.md
Last active April 25, 2019 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save xpepper/577637fb22023ba29f59ebcb896c1315 to your computer and use it in GitHub Desktop.
Save xpepper/577637fb22023ba29f59ebcb896c1315 to your computer and use it in GitHub Desktop.
The Bank Account code kata (inspired by 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

Deposit:

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

Withdrawal:

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

Account History:

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

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