mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 20:32:15 +00:00
22 lines
284 B
Markdown
22 lines
284 B
Markdown
# Requirements
|
|
|
|
jq
|
|
|
|
# Failing Unit Test
|
|
|
|
```shell
|
|
./test-gilded-rose.sh
|
|
```
|
|
|
|
# TextTest Fixture
|
|
|
|
```shell
|
|
jq -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)"
|
|
```
|
|
|
|
Specify days (e.g. 10 days):
|
|
|
|
```shell
|
|
jq --arg days 10 -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)"
|
|
```
|