Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 550 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 550 Bytes

Gilded Rose Refactoring Kata

Originally created and maintained by @emilybache. Adapted from emilybache/GildedRose-Refactoring-Kata by @ksmutny.

Install dependencies

npm install

Run text test fixture

npm run ts ./src/gilded-rose-text-test.ts <days>

<days> - number of days to pass; default = 2

Run tests

Run all tests

npm test

Run Mocha tests separately

npm run test:mocha

Run Cucumber tests separately

npm run test:cucumber