GildedRose-Refactoring-Kata/csharp.xUnit
Artur Goloyad 4074da89e3 refactor: collapse UpdateQuality to delegate to the factory
GildedRose now resolves each item to its strategy and applies it; all
rules live in the strategies. The original one-arg constructor keeps
working by delegating to ItemUpdaterFactory.Default(); a second
constructor allows injecting a custom IItemUpdaterFactory.

No behaviour change: the ThirtyDays approval snapshot and all
existing-type spec tests pass unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-25 20:50:46 +02:00
..
GildedRose refactor: collapse UpdateQuality to delegate to the factory 2026-07-25 20:50:46 +02:00
GildedRoseTests test: add failing specification tests for Conjured items 2026-07-25 20:49:08 +02:00
.gitignore Refactor C# projects 2024-05-29 15:01:51 +02:00
GildedRose.sln Refactoring c# projects (#544) 2024-06-06 14:13:44 +02:00
README.md Refactoring c# projects (#544) 2024-06-06 14:13:44 +02:00

Gilded Rose starting position in C# xUnit

Build the project

Use your normal build tools to build the projects in Debug mode. For example, you can use the dotnet command line tool:

dotnet build GildedRose.sln -c Debug

Run the Gilded Rose Command-Line program

For e.g. 10 days:

GildedRose/bin/Debug/net8.0/GildedRose 10

Run all the unit tests

dotnet test