diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index 900af225..83868fc1 100644
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -22,6 +22,13 @@
"nuke"
],
"rollForward": false
+ },
+ "dotnet-stryker": {
+ "version": "4.0.6",
+ "commands": [
+ "dotnet-stryker"
+ ],
+ "rollForward": false
}
}
}
\ No newline at end of file
diff --git a/README.md b/README.md
index 042dd4f3..c3ac0f16 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,7 @@ RookieShop is a .NET Core web application training project demonstrating Clean A
- [Mac, Linux, \& Windows without Visual Studio](#mac-linux--windows-without-visual-studio)
- [Setup tools and dependencies](#setup-tools-and-dependencies)
- [Setup Stripe webhook](#setup-stripe-webhook)
+ - [User secrets example](#user-secrets-example)
- [Running the application](#running-the-application)
- [Testing](#testing)
- [CI/CD](#cicd)
@@ -145,6 +146,26 @@ stripe login
stripe listen --forward-to https://localhost:9000/api/stripe
```
+### User secrets example
+
+```json
+{
+ "Parameters": {
+ "SqlUser": "",
+ "SqlPassword": "",
+ "StripeApiKey": "",
+ "StripeWebhookSecret": "",
+ "EmailSecret": "",
+ "GoogleClientId": "",
+ "GoogleClientSecret": "",
+ "OpenAiKey": ""
+ },
+ "ConnectionStrings": {
+ "openai": "Key="
+ }
+}
+```
+
### Running the application
> [!WARNING]
diff --git a/tests/RookieShop.FunctionalTests/RookieShop.FunctionalTests.csproj b/tests/RookieShop.FunctionalTests/RookieShop.FunctionalTests.csproj
index f94d4d4e..9afa57f8 100644
--- a/tests/RookieShop.FunctionalTests/RookieShop.FunctionalTests.csproj
+++ b/tests/RookieShop.FunctionalTests/RookieShop.FunctionalTests.csproj
@@ -17,6 +17,14 @@
+
+
+ PreserveNewest
+ true
+ PreserveNewest
+
+
+
diff --git a/tests/RookieShop.FunctionalTests/xunit.runner.json b/tests/RookieShop.FunctionalTests/xunit.runner.json
new file mode 100644
index 00000000..2098a7cb
--- /dev/null
+++ b/tests/RookieShop.FunctionalTests/xunit.runner.json
@@ -0,0 +1,6 @@
+{
+ "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json",
+ "parallelizeAssembly": false,
+ "parallelizeTestCollections": true,
+ "shadowCopy": false
+}
\ No newline at end of file