GildedRose-Refactoring-Kata/jq
..
gilded-rose.jq
README.md
test-gilded-rose.sh
texttest_fixture.jq

Requirements

jq

Failing Unit Test

./test-gilded-rose.sh

TextTest Fixture

jq -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)"

Specify days (e.g. 10 days):

jq --arg days 10 -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)"