Skip to content

A TDD implementation of the Gilded Rose stock control system

Notifications You must be signed in to change notification settings

dmcg/gilded-rose-tdd

Repository files navigation

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

db/start-db.sh

Initialise the test database

./gradlew flywayMigrate

Run (most of) the Tests

./gradlew clean test

Initialise the local database

db/migrate-dev.sh

Populate the database with test data

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

Run the app

Run src/main/java/main.kt

About

A TDD implementation of the Gilded Rose stock control system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published