Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 566 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 566 Bytes

Refactoring Kata

Goal

Remove code smells found in OrdersWriter class without using JSON libraries, while keeping the OrdersWriterTest pass.

Guide

If you're new to code smells and/or refactoring, please read https://sourcemaking.com/refactoring for a quick introduction and https://martinfowler.com/books/refactoring.html for further understanding.

Tested on Java 1.8. To run the tests, use gradlew test for *nix and gradlew.bat test for Windows.

OrdersWriter is inspired by the great eLearning course from https://www.industriallogic.com/eLearning