Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Kata for a legacy code hands-on session. The objective is to write tests and refactor the given legacy code.

Notifications You must be signed in to change notification settings

squelix/trip-service-kata

 
 

Repository files navigation

Trip Service Kata

Kata for legacy code hands-on session. The objective is to test and refactor the legacy TripService class.

The end result should be well-crafted code that express the domain.

You can watch the video with my solution. Although quite long, I explain my whole thought process while writting tests, how I break dependencies, the reasons for refactoring and re-desining the code (tests and production code), and why certain steps are important. I also cover how often I commit and why I do it.

The video is full of tips and tricks that can be used in any language.

https://www.youtube.com/watch?v=_NnElPO5BU0

About

Kata for a legacy code hands-on session. The objective is to write tests and refactor the given legacy code.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 44.6%
  • CSS 31.9%
  • HTML 12.6%
  • Shell 2.3%
  • Java 1.8%
  • C# 1.2%
  • Other 5.6%