mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
22 lines
366 B
Markdown
22 lines
366 B
Markdown
# Installs
|
|
|
|
[install jaq](https://github.com/01mf02/jaq#installation) (latest development version)
|
|
|
|
# Failing Unit Test
|
|
|
|
```shell
|
|
./test-gilded-rose.sh
|
|
```
|
|
|
|
# TextTest Fixture
|
|
|
|
```shell
|
|
jaq -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)"
|
|
```
|
|
|
|
Specify days (e.g. 10 days):
|
|
|
|
```shell
|
|
jaq --arg days 10 -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)"
|
|
```
|