GildedRose-Refactoring-Kata/TypeScript-deno
2025-01-22 18:36:51 +01:00
..
app chore: renaming folder 2025-01-22 18:36:51 +01:00
test chore: renaming folder 2025-01-22 18:36:51 +01:00
.editorconfig chore: renaming folder 2025-01-22 18:36:51 +01:00
.gitignore chore: renaming folder 2025-01-22 18:36:51 +01:00
deno.json chore: get rid of unneccessary configuration 2025-01-22 18:36:51 +01:00
deno.lock chore: renaming folder 2025-01-22 18:36:51 +01:00
README.md fix: typo 2025-01-22 18:36:51 +01:00
texttest_rig.py chore: renaming folder 2025-01-22 18:36:51 +01:00

Gilded Rose

This is the Gilded Rose kata in TypeScript through Deno for a simplified experience.

Getting started

Install dependencies

No more dependencies to install. Just go to the next step.

Run the unit tests from the Command-Line

Open a terminal and run the following command:

deno test

To run all tests in watch mode

deno test --watch

Run the TextTest fixture from the Command-Line

deno run test/golden-master-text-test.ts

Or with number of days as args:

deno run 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

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