Skip to content

An implementation of the refactoring kata implementing some of Fowler's methods

License

Notifications You must be signed in to change notification settings

teinone/knights-knaves-and-katas

Repository files navigation

Refactoring Kata

Cover Image

This is an implementation for Emily Bache's version of the original kata by Terry Hughes.

The original repository can be found here.

How to run

You can simply run test_gilded_rose.py and texttest_fixture.py to see the code in action. texttest_fixture.py has been configured to run for 30 days with buffer flushing at each print.

For easier before/after comparisons, you can set the logging level in gilded_rose.py to DEBUG.

TextTest is no longer run as part of the GitHub Actions, but the output of texttest_fixture.py should be fully conformant (except for first and exit code row).

There was a bug in stdout.gr where the behaviour of ConjuredItems wasn't according to spec.

You can find both outputs in the results directory (with first and exit rows removed from the output). There is no diff between the two files.

About

An implementation of the refactoring kata implementing some of Fowler's methods

Resources

License

Stars

Watchers

Forks

Languages