# Exercise: Green Before, Green After

Exercise: Green Before, Green After: Exercise: Green Before, Green After.

Updated: November 17, 2026

1. [Exercise: Green Before, Green After](https://www.ask-codey.com/lessons/exercise-dp-green-before-green-after) (Novice): Take your first ticket from Sunrise Bakery: a receipt printer that needs the subtotal and tax on their own, and delivery from Monday. Change the working checkout code in small, safe steps (rename, pull a method out, add the rule), running the tests after every one.

Source: https://www.ask-codey.com/courses/design-patterns/topics/exercise-dp-green-before-green-after
