mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-16 06:51:27 +00:00
Add README for csharpcore
This commit is contained in:
parent
40404d9217
commit
b344bd8e1f
21
csharpcore/README.md
Normal file
21
csharpcore/README.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Tips and Tricks
|
||||||
|
|
||||||
|
## Run test:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
dotnet test
|
||||||
|
```
|
||||||
|
|
||||||
|
## Run test whenever a files are updated (saved):
|
||||||
|
|
||||||
|
```shell
|
||||||
|
dotnet watch --project GildedRoseTests test
|
||||||
|
```
|
||||||
|
|
||||||
|
## Run test and collect code coverage:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
rm -rf GildedRoseTests/TestResults/* && dotnet test --collect:"XPlat Code Coverage"
|
||||||
|
```
|
||||||
|
|
||||||
|
> A file named `coverage.cobertura.xml` will be created for each run. It can be parsed by (e.g) VS Code's [Coverage Gutters](https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters) extension.
|
||||||
Loading…
Reference in New Issue
Block a user