rbung / Banking

Simple Kata Banking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Banking

Build Status JavaScript Style Guide styled with prettier

Feature to implement

Feature: Withdraw from account
  As a client of the bank
  I want to withdraw money from my account
  In order to have cash

  Scenario: An existing client withdraws from his account
    Given an existing client named "pierre-jean" with 100.0 EUR in his account
    When he withdraws 10.0 EUR from his account
    Then the new balance is 90.0 EUR

Pre-requisite

Installation

  • on a terminal
npm install

Execute the tests

  • on a terminal
npm test

Test results

About

Simple Kata Banking


Languages

Language:JavaScript 100.0%