Pizza Maker
A console-based pizza builder using ingredient classes and pricing logic, paired with a custom test harness that validates multiple pizza combinations.
Sec 01
Overview
The build models pizzas as objects: ingredient classes carry their own price, and a pizza composes them into a total. It was the assignment where object-oriented structure started to pay for itself.
The part I keep coming back to is the test harness — a small driver that runs multiple pizza combinations and checks the output, which is the same instinct I now apply as a QA analyst.
Debrief
What I Took Away
- ▸Modelling a domain with classes rather than loose variables.
- ▸Writing a test harness to exercise many input combinations at once.
- ▸Separating pricing logic from presentation.
- ▸Reading failing output as a signal, not a nuisance.
LanguageJava
TypeConsole app
FocusOOP + testing
CourseJava Programming