lukaselmer / BankOCR-Refactoring-Kata

Refactoring kata dealing with Primitive Obsession.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BankOCR Refactoring Kata

Refactoring kata dealing with Primitive Obsession.

The code is an implementation of the Bank OCR as shown by Angela Harms and Jason Felice in their talk Witness TDD with Real, Live Refactoring Maniacs at Oredev conference 2014. This repository started as a clone of the original code.

Requirements

See the problem.txt in the project root.

Task

The code is fully covered with tests so you can start refactoring it right away.

  1. What is wrong with the OCR class?
  2. Refactor its parse method.
  3. Consider a future requirement change where the input changes, e.g. the style of digits, number of digits etc.
  4. Don't focus on getting it done. Focus on doing it perfectly.

About

Refactoring kata dealing with Primitive Obsession.


Languages

Language:C++ 27.3%Language:TypeScript 24.4%Language:Kotlin 22.8%Language:Java 22.6%Language:CMake 2.5%Language:JavaScript 0.4%