Bank Account kata for practice TDD implemented by Jorge Sánchez (Xurxodev)
Think of your personal bank account experience.
When in doubt, go for the simplest solution
These are requirements for kata.
- Deposit (negative not permitted)
- Withdrawal (negative not permitted)
- GetBalance
- Account statement (date, quantity, balance)
- Statement printing
- Deposit and Withdrawal (EUR and USD)
I'm using Springboot, Java and Cucumber.
From the original statement, I decided to add account creation feature.
Let's translate the features above into user stories :
- US1 : Create an account (not allow non-resident of France)
- US2 : Deposit (negative not permitted)
- US3 : Withdrawal (negative not permitted)
- US4 : GetBalance
- US5 : Account statement (date, quantity, balance)
- US6 : Statement printing
./mvnw clean test