GildedRose-Refactoring-Kata/gleam
2024-06-06 19:43:22 -04:00
..
src Move update_quality into src/gilded_rose.gleam 2024-06-06 19:43:22 -04:00
test Move update_quality into src/gilded_rose.gleam 2024-06-06 19:43:22 -04:00
.gitignore Add Gleam implementation 2024-06-06 12:54:56 -04:00
gleam.toml Add Gleam implementation 2024-06-06 12:54:56 -04:00
README.md Add Gleam implementation 2024-06-06 12:54:56 -04:00

Gilded Rose starting position in Gleam

I assume you have installed gleam on your system.

Run unit tests from the command line

$ gleam test

Get the TextTest fixture on the command line

Execute it on the command line with an argument for the number of days:

$ gleam run -- --days=30

Compare the output to stdout.gr for validation. There are instructions in the TextTest Readme for setting up TextTest.