Skip to content

Latest commit

 

History

History

TripService

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Trip Service Kata

Info: codingdojo

Problem Description

The objective is to test and refactor the legacy TripService class. The end result should be well-crafted code that expresses the domain. We do not need tests for collaborators (right now), we want to test only the logic contained in the TripService class.

Rules

  • We can’t change any existing code if not covered by tests. We can’tafford to break any existing behavior.

  • The only exception is if we need to change the code to add unit tests, but in this case, just automated refactorings (via IDE) are allowed.

source http://craftedsw.blogspot.com/2011/07/testing-legacy-hard-wired-dependencies.html

Source code

To Start, get source from github : https://github.com/sandromancuso/trip-service-kata