Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 571 Bytes

File metadata and controls

35 lines (21 loc) · 571 Bytes

gilded-rose-tdd

A TDD implementation of the Gilded Rose stock control system

You can see the development of this code on YouTube

Setup

Requires Java 21 and Docker

Start Postgres in Docker

scripts/start-db.sh

Run (most of) the Tests

./gradlew clean test

Initialise the local database

scripts/migrate-dev.sh

Populate the database with test data

Run app/src/test/java/populate-main.kt

Run the app

Run app/src/main/java/main.kt