GildedRose-Refactoring-Kata/csharpcore
Sarah Ashri 4f9209d154 Add full unit test coverage to existing code
- Without the new "Conjured" items requirements
- Tests failing due to bugs in code are ignored until after the refactoring and fix.
2024-03-12 11:57:25 +10:00
..
GildedRose Update csharp core nunit project to latest SDK and libs 2024-02-05 12:37:27 +01:00
GildedRoseTests Add full unit test coverage to existing code 2024-03-12 11:57:25 +10:00
.gitignore C# for .net core 2018-06-14 16:54:48 +02:00
GildedRose.sln Fix misspelling of Guilded => Gilded for PR #252 2021-07-23 11:30:53 +12:00
global.json update to latest .net version 2023-08-29 11:36:23 +02:00
README.md Update leftovers for the .Net Version upgrade to .Net 8.0 for csharpcore 2024-03-12 09:36:56 +10:00

Gilded Rose starting position in Csharp Core

Build the project

Use your normal build tools.

Run the TextTest fixture from the Command-Line

For e.g. 10 days:

GildedRoseTests/bin/Debug/net8.0/GildedRoseTests 10

You should make sure the command shown above works when you execute it in a terminal before trying to use TextTest (see below). If your tooling has placed the executable somewhere else, you will need to adjust the path above.

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 GildedRoseTests executable and interpreter in config.gr. Uncomment this line:

executable:${TEXTTEST_HOME}/csharpcore/GildedRoseTests/bin/Debug/net8.0/GildedRoseTests