GildedRose-Refactoring-Kata/gleam/README.md
Barry Moore 717e2a8c7b
Add Gleam implementation (#548)
* Add Gleam implementation
2024-06-09 21:37:41 +02:00

21 lines
550 B
Markdown

# Gilded Rose starting position in Gleam
I assume you have [installed](https://gleam.run/getting-started/installing/) `gleam` on your system.
## Run unit tests from the command line
```sh
$ gleam test
```
## Get the TextTest fixture on the command line
Execute it on the command line with an argument for the number of days:
```sh
$ gleam run -- --days=30
```
Compare the output to [stdout.gr](../texttests/ThirtyDays/stdout.gr) for validation.
There are instructions in the [TextTest Readme](../texttests/README.md) for setting up TextTest.