- Use a REPL
- No need for command line interface
- Be able to withdraw and deposit funds
- Be able to print an account statement
- Data in memory, not database
As a bank client,
So that I can save money,
I want to be able to deposit money into my account.
As a bank client,
So that I can spend money,
I want to be able to withdraw funds from my account.
As a bank client,
So I can keep track of my money,
I want to be able to print a statement of my transactions.
As a bank clerk,
So that I can provide an accurate bank statement,
I want the customer's account balance to be calculated automatically.
As a bank clerk,
So that I can keep accurate customer accounts,
I want the details of all transactions to be recorded on bank statements (date, deposit or withdrawal amount, account balance).
- clone this repo
- cd jasmine
- open index.html
- run functions in console
- open SpecRunner.html if you want to run the tests