dmcg / gilded-rose-tdd

A TDD implementation of the Gilded Rose stock control system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Kotlin 99.8%Language:Shell 0.2%