Skip to content

aigouassel/GildedRose-Refactoring-Kata

Repository files navigation

Gilded Rose

This repository is entirely based on the great Emily Bache's Gilded Rose kata.

Original instructions can be found here.

Getting started

Install dependencies

yarn

Run the TextTest fixture from the Command-Line

Using ts-node to run tests would require you to write your own tests.

npx ts-node test/golden-master-text-test.ts

Or with number of days as args:

npx ts-node test/golden-master-text-test.ts 10

You should make sure the command shown above works when you execute it in a terminal before trying to use TextTest (see below).

Run the TextTest approval test that comes with this project

You may need to install Python3 for test execution purposes (see below).

brew install python3

There are instructions in the TextTest Readme for setting up TextTest. You will need to specify the Python executable and interpreter in config.gr. Uncomment these lines:

executable:${TEXTTEST_HOME}/python/texttest_fixture.py
interpreter:python

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published