GildedRose-Refactoring-Kata/csharpcore
Sarah Ashri 0953f31cb9 Refactored ApprovalTest
This is preparation for adding the conjured items
- Updated the created Conjured item to allow testing with the new requirement
- Changed to work with local expectedOutput file
2024-03-15 14:17:10 +10:00
..
GildedRose Add ItemBuilders hierarchy to enforce building valid items 2024-03-15 11:46:55 +10:00
GildedRoseTests Refactored ApprovalTest 2024-03-15 14:17:10 +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