/DoubleExercise

Pairing Kata for practising with Doubles

MIT LicenseMIT

DoubleExercise

Pairing Kata for practising with Doubles

This exercise involves working with a tube train and station domain. Tube trains should have a current station which can be changed. The precise details of the domain (which most commuters will be able to relate to) are less important than ensuring the tests for the tube train class are independent of the station class and vice versa. Using doubles is a good way to achieve this.

See https://github.com/tansaku/DoubleExercise for an example start on this domain and these commits for an example of the github pong pairing style.

Please fork and clone this repository to get set up for github pong. To get ready to github pong with your partner execute the following git command in your DoubleExercise directory:

git remote add <partner-name> <partner-repo>

For example to github pong with sam:

git remote add sam https://github.com/tansaku/DoubleExercise

The customer stories for this domain include:

As an administrator
So that I can respond to questions about train locations
I want to be able to see a list of which trains are in which stations

As a driver
So that I can get passengers to their destination
I want to be able to move a train to the next station