diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 50eb5f98ed..2af506abeb 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -12,7 +12,7 @@ General questions may be better placed [StackOveflow](https://stackoverflow.com/ Where relevant, ensure you are using the current stable versions on your development stack. For example: - * Visual Studio + * Visual Studio or Rider * [.NET SDK or .NET Core SDK](https://www.microsoft.com/net/download) * Any related NuGet packages @@ -30,7 +30,8 @@ Add any other context about the problem here. #### Minimal Repro -Ensure you have replicated the bug in a minimal solution with the fewest moving parts. Often this will help point to the true cause of the problem. Upload this repro as part of the issue, preferably a public GitHub repository or a downloadable zip. The repro will allow the maintainers of this project to smoke test the any fix. +Ensure you have replicated the bug in a minimal solution with the fewest moving parts. Often this will help point to the true cause of the problem. Upload this repro as part of the issue, as a public GitHub repository or a downloadable zip. The repro will allow the maintainers of this project to smoke test the any fix. + #### Submit a PR that fixes the bug diff --git a/docs/mdsource/parameterised.source.md b/docs/mdsource/parameterised.source.md index d639dfa4f4..e1c284cd2b 100644 --- a/docs/mdsource/parameterised.source.md +++ b/docs/mdsource/parameterised.source.md @@ -47,7 +47,10 @@ When using a [TestFixtureSource](https://docs.nunit.org/articles/nunit/writing-t snippet: TestFixtureSourceUsage.cs -Produces `TestFixtureSourceUsage(Value1,1).Test.verified.txt` and `TestFixtureSourceUsage(Value2,2).Test.verified.txt`. +Produces: + + * `TestFixtureSourceUsage.Test_arg1=Value1_arg2=1.verified.txt` + * `TestFixtureSourceUsage.Test_arg1=Value2_arg2=2.verified.txt` ## xUnit diff --git a/docs/parameterised.md b/docs/parameterised.md index 3f6a78c772..d5367558ce 100644 --- a/docs/parameterised.md +++ b/docs/parameterised.md @@ -121,7 +121,10 @@ public class TestFixtureSourceUsage(string arg1, int arg2) snippet source | anchor -Produces `TestFixtureSourceUsage(Value1,1).Test.verified.txt` and `TestFixtureSourceUsage(Value2,2).Test.verified.txt`. +Produces: + + * `TestFixtureSourceUsage.Test_arg1=Value1_arg2=1.verified.txt` + * `TestFixtureSourceUsage.Test_arg1=Value2_arg2=2.verified.txt` ## xUnit diff --git a/docs/recording.md b/docs/recording.md index d96bd7782e..5c6f0c90ad 100644 --- a/docs/recording.md +++ b/docs/recording.md @@ -85,7 +85,7 @@ public Task RecordingScoped() return Verify(); } ``` -snippet source | anchor +snippet source | anchor Results in: @@ -117,7 +117,7 @@ public Task SameKey() return Verify("TheValue"); } ``` -snippet source | anchor +snippet source | anchor Results in: @@ -154,7 +154,7 @@ public Task Identifier() return Verify(Recording.Stop("identifier")); } ``` -snippet source | anchor +snippet source | anchor Results in: @@ -186,7 +186,7 @@ public Task Case() return Verify("TheValue"); } ``` -snippet source | anchor +snippet source | anchor Results in: @@ -221,7 +221,7 @@ public Task Stop() return Verify(appends.Where(_ => _.Name != "name1")); } ``` -snippet source | anchor +snippet source | anchor Results in: @@ -253,7 +253,7 @@ public Task StopNotInResult() return Verify("other data"); } ``` -snippet source | anchor +snippet source | anchor Results in: @@ -282,7 +282,7 @@ public void IsRecording() Assert.True(Recording.IsRecording()); } ``` -snippet source | anchor +snippet source | anchor This can be helpful if the cost of capturing data, to add to recording, is high. @@ -305,7 +305,7 @@ public Task Clear() return Verify(); } ``` -snippet source | anchor +snippet source | anchor Results in: @@ -341,7 +341,7 @@ public Task PauseResume() return Verify(); } ``` -snippet source | anchor +snippet source | anchor Results in: diff --git a/docs/wiz/Linux_Other_Gui_Fixie_AppVeyor.md b/docs/wiz/Linux_Other_Gui_Fixie_AppVeyor.md index 26d5b5cf67..645b4a283f 100644 --- a/docs/wiz/Linux_Other_Gui_Fixie_AppVeyor.md +++ b/docs/wiz/Linux_Other_Gui_Fixie_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_Fixie_AzureDevOps.md b/docs/wiz/Linux_Other_Gui_Fixie_AzureDevOps.md index 0dd2f016b1..eeb12044b7 100644 --- a/docs/wiz/Linux_Other_Gui_Fixie_AzureDevOps.md +++ b/docs/wiz/Linux_Other_Gui_Fixie_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_Fixie_GitHubActions.md b/docs/wiz/Linux_Other_Gui_Fixie_GitHubActions.md index de7d3643c5..8c95ee61ce 100644 --- a/docs/wiz/Linux_Other_Gui_Fixie_GitHubActions.md +++ b/docs/wiz/Linux_Other_Gui_Fixie_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_Fixie_None.md b/docs/wiz/Linux_Other_Gui_Fixie_None.md index 27b479fab0..256cf28f76 100644 --- a/docs/wiz/Linux_Other_Gui_Fixie_None.md +++ b/docs/wiz/Linux_Other_Gui_Fixie_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_MSTest_AppVeyor.md b/docs/wiz/Linux_Other_Gui_MSTest_AppVeyor.md index 38464ee116..d4efe46ad6 100644 --- a/docs/wiz/Linux_Other_Gui_MSTest_AppVeyor.md +++ b/docs/wiz/Linux_Other_Gui_MSTest_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_MSTest_AzureDevOps.md b/docs/wiz/Linux_Other_Gui_MSTest_AzureDevOps.md index 1c57e4cafe..60f5e4dd88 100644 --- a/docs/wiz/Linux_Other_Gui_MSTest_AzureDevOps.md +++ b/docs/wiz/Linux_Other_Gui_MSTest_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_MSTest_GitHubActions.md b/docs/wiz/Linux_Other_Gui_MSTest_GitHubActions.md index fd1b4274c5..f3bfddaf94 100644 --- a/docs/wiz/Linux_Other_Gui_MSTest_GitHubActions.md +++ b/docs/wiz/Linux_Other_Gui_MSTest_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_MSTest_None.md b/docs/wiz/Linux_Other_Gui_MSTest_None.md index 5d5aea3c6f..325c826236 100644 --- a/docs/wiz/Linux_Other_Gui_MSTest_None.md +++ b/docs/wiz/Linux_Other_Gui_MSTest_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_NUnit_AppVeyor.md b/docs/wiz/Linux_Other_Gui_NUnit_AppVeyor.md index c2ee7d84fa..fd522f90a8 100644 --- a/docs/wiz/Linux_Other_Gui_NUnit_AppVeyor.md +++ b/docs/wiz/Linux_Other_Gui_NUnit_AppVeyor.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_NUnit_AzureDevOps.md b/docs/wiz/Linux_Other_Gui_NUnit_AzureDevOps.md index d30d46d0f8..afc970a6af 100644 --- a/docs/wiz/Linux_Other_Gui_NUnit_AzureDevOps.md +++ b/docs/wiz/Linux_Other_Gui_NUnit_AzureDevOps.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_NUnit_GitHubActions.md b/docs/wiz/Linux_Other_Gui_NUnit_GitHubActions.md index 6087148bb7..575f8cfbdb 100644 --- a/docs/wiz/Linux_Other_Gui_NUnit_GitHubActions.md +++ b/docs/wiz/Linux_Other_Gui_NUnit_GitHubActions.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_NUnit_None.md b/docs/wiz/Linux_Other_Gui_NUnit_None.md index eea6be509f..45aa7b90f4 100644 --- a/docs/wiz/Linux_Other_Gui_NUnit_None.md +++ b/docs/wiz/Linux_Other_Gui_NUnit_None.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Other_Gui_Xunit_AppVeyor.md b/docs/wiz/Linux_Other_Gui_Xunit_AppVeyor.md index aa6cd62645..5b010feee7 100644 --- a/docs/wiz/Linux_Other_Gui_Xunit_AppVeyor.md +++ b/docs/wiz/Linux_Other_Gui_Xunit_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Linux_Other_Gui_Xunit_AzureDevOps.md b/docs/wiz/Linux_Other_Gui_Xunit_AzureDevOps.md index 849a923ecd..ac0840984c 100644 --- a/docs/wiz/Linux_Other_Gui_Xunit_AzureDevOps.md +++ b/docs/wiz/Linux_Other_Gui_Xunit_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Linux_Other_Gui_Xunit_GitHubActions.md b/docs/wiz/Linux_Other_Gui_Xunit_GitHubActions.md index dbf656b53d..a79ac7518e 100644 --- a/docs/wiz/Linux_Other_Gui_Xunit_GitHubActions.md +++ b/docs/wiz/Linux_Other_Gui_Xunit_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Linux_Other_Gui_Xunit_None.md b/docs/wiz/Linux_Other_Gui_Xunit_None.md index 269b1b55f4..c0f8ce8c03 100644 --- a/docs/wiz/Linux_Other_Gui_Xunit_None.md +++ b/docs/wiz/Linux_Other_Gui_Xunit_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Linux_Rider_Gui_Fixie_AppVeyor.md b/docs/wiz/Linux_Rider_Gui_Fixie_AppVeyor.md index 662c95f149..fa726c63d5 100644 --- a/docs/wiz/Linux_Rider_Gui_Fixie_AppVeyor.md +++ b/docs/wiz/Linux_Rider_Gui_Fixie_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_Fixie_AzureDevOps.md b/docs/wiz/Linux_Rider_Gui_Fixie_AzureDevOps.md index 1293f983fc..5c38ecf9b4 100644 --- a/docs/wiz/Linux_Rider_Gui_Fixie_AzureDevOps.md +++ b/docs/wiz/Linux_Rider_Gui_Fixie_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_Fixie_GitHubActions.md b/docs/wiz/Linux_Rider_Gui_Fixie_GitHubActions.md index 5493af3f78..64caa0cd6d 100644 --- a/docs/wiz/Linux_Rider_Gui_Fixie_GitHubActions.md +++ b/docs/wiz/Linux_Rider_Gui_Fixie_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_Fixie_None.md b/docs/wiz/Linux_Rider_Gui_Fixie_None.md index 293cdb5b6a..1ef361918f 100644 --- a/docs/wiz/Linux_Rider_Gui_Fixie_None.md +++ b/docs/wiz/Linux_Rider_Gui_Fixie_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_MSTest_AppVeyor.md b/docs/wiz/Linux_Rider_Gui_MSTest_AppVeyor.md index 5035f75095..638cefbd74 100644 --- a/docs/wiz/Linux_Rider_Gui_MSTest_AppVeyor.md +++ b/docs/wiz/Linux_Rider_Gui_MSTest_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_MSTest_AzureDevOps.md b/docs/wiz/Linux_Rider_Gui_MSTest_AzureDevOps.md index 1a505fd27b..5b6137f981 100644 --- a/docs/wiz/Linux_Rider_Gui_MSTest_AzureDevOps.md +++ b/docs/wiz/Linux_Rider_Gui_MSTest_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_MSTest_GitHubActions.md b/docs/wiz/Linux_Rider_Gui_MSTest_GitHubActions.md index 391fd33c0d..a5e4cbd662 100644 --- a/docs/wiz/Linux_Rider_Gui_MSTest_GitHubActions.md +++ b/docs/wiz/Linux_Rider_Gui_MSTest_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_MSTest_None.md b/docs/wiz/Linux_Rider_Gui_MSTest_None.md index 578be9e9b6..0f641d03f7 100644 --- a/docs/wiz/Linux_Rider_Gui_MSTest_None.md +++ b/docs/wiz/Linux_Rider_Gui_MSTest_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_NUnit_AppVeyor.md b/docs/wiz/Linux_Rider_Gui_NUnit_AppVeyor.md index 7a58e9569b..4d3f4d8b94 100644 --- a/docs/wiz/Linux_Rider_Gui_NUnit_AppVeyor.md +++ b/docs/wiz/Linux_Rider_Gui_NUnit_AppVeyor.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_NUnit_AzureDevOps.md b/docs/wiz/Linux_Rider_Gui_NUnit_AzureDevOps.md index 030346d6ae..6026787d2a 100644 --- a/docs/wiz/Linux_Rider_Gui_NUnit_AzureDevOps.md +++ b/docs/wiz/Linux_Rider_Gui_NUnit_AzureDevOps.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_NUnit_GitHubActions.md b/docs/wiz/Linux_Rider_Gui_NUnit_GitHubActions.md index b569e954f4..9d70d8d040 100644 --- a/docs/wiz/Linux_Rider_Gui_NUnit_GitHubActions.md +++ b/docs/wiz/Linux_Rider_Gui_NUnit_GitHubActions.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_NUnit_None.md b/docs/wiz/Linux_Rider_Gui_NUnit_None.md index ae3f44850e..7eb437186f 100644 --- a/docs/wiz/Linux_Rider_Gui_NUnit_None.md +++ b/docs/wiz/Linux_Rider_Gui_NUnit_None.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Linux_Rider_Gui_Xunit_AppVeyor.md b/docs/wiz/Linux_Rider_Gui_Xunit_AppVeyor.md index b16af4c7a6..d19913db8b 100644 --- a/docs/wiz/Linux_Rider_Gui_Xunit_AppVeyor.md +++ b/docs/wiz/Linux_Rider_Gui_Xunit_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Linux_Rider_Gui_Xunit_AzureDevOps.md b/docs/wiz/Linux_Rider_Gui_Xunit_AzureDevOps.md index 082501226b..105e50e5a4 100644 --- a/docs/wiz/Linux_Rider_Gui_Xunit_AzureDevOps.md +++ b/docs/wiz/Linux_Rider_Gui_Xunit_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Linux_Rider_Gui_Xunit_GitHubActions.md b/docs/wiz/Linux_Rider_Gui_Xunit_GitHubActions.md index b1aa4a8ab6..d1f8d70808 100644 --- a/docs/wiz/Linux_Rider_Gui_Xunit_GitHubActions.md +++ b/docs/wiz/Linux_Rider_Gui_Xunit_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Linux_Rider_Gui_Xunit_None.md b/docs/wiz/Linux_Rider_Gui_Xunit_None.md index 8e6eff30b3..ec036dfc4a 100644 --- a/docs/wiz/Linux_Rider_Gui_Xunit_None.md +++ b/docs/wiz/Linux_Rider_Gui_Xunit_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/MacOS_Other_Gui_Fixie_AppVeyor.md b/docs/wiz/MacOS_Other_Gui_Fixie_AppVeyor.md index 0527dc9eba..f8f14e4e5c 100644 --- a/docs/wiz/MacOS_Other_Gui_Fixie_AppVeyor.md +++ b/docs/wiz/MacOS_Other_Gui_Fixie_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_Fixie_AzureDevOps.md b/docs/wiz/MacOS_Other_Gui_Fixie_AzureDevOps.md index e4da80d4a1..04bf8c2f62 100644 --- a/docs/wiz/MacOS_Other_Gui_Fixie_AzureDevOps.md +++ b/docs/wiz/MacOS_Other_Gui_Fixie_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_Fixie_GitHubActions.md b/docs/wiz/MacOS_Other_Gui_Fixie_GitHubActions.md index aa05d72d6e..1ec452c3db 100644 --- a/docs/wiz/MacOS_Other_Gui_Fixie_GitHubActions.md +++ b/docs/wiz/MacOS_Other_Gui_Fixie_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_Fixie_None.md b/docs/wiz/MacOS_Other_Gui_Fixie_None.md index f6ce07ba9b..870cd25dbc 100644 --- a/docs/wiz/MacOS_Other_Gui_Fixie_None.md +++ b/docs/wiz/MacOS_Other_Gui_Fixie_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_MSTest_AppVeyor.md b/docs/wiz/MacOS_Other_Gui_MSTest_AppVeyor.md index 2f88908dea..db3bd8dc8a 100644 --- a/docs/wiz/MacOS_Other_Gui_MSTest_AppVeyor.md +++ b/docs/wiz/MacOS_Other_Gui_MSTest_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_MSTest_AzureDevOps.md b/docs/wiz/MacOS_Other_Gui_MSTest_AzureDevOps.md index 7055fa52a7..0a039acd0c 100644 --- a/docs/wiz/MacOS_Other_Gui_MSTest_AzureDevOps.md +++ b/docs/wiz/MacOS_Other_Gui_MSTest_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_MSTest_GitHubActions.md b/docs/wiz/MacOS_Other_Gui_MSTest_GitHubActions.md index 544c0a2f0c..12935a236c 100644 --- a/docs/wiz/MacOS_Other_Gui_MSTest_GitHubActions.md +++ b/docs/wiz/MacOS_Other_Gui_MSTest_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_MSTest_None.md b/docs/wiz/MacOS_Other_Gui_MSTest_None.md index 943225f894..272226ed65 100644 --- a/docs/wiz/MacOS_Other_Gui_MSTest_None.md +++ b/docs/wiz/MacOS_Other_Gui_MSTest_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_NUnit_AppVeyor.md b/docs/wiz/MacOS_Other_Gui_NUnit_AppVeyor.md index 2589d0d64e..b45e235aae 100644 --- a/docs/wiz/MacOS_Other_Gui_NUnit_AppVeyor.md +++ b/docs/wiz/MacOS_Other_Gui_NUnit_AppVeyor.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_NUnit_AzureDevOps.md b/docs/wiz/MacOS_Other_Gui_NUnit_AzureDevOps.md index 2013832ac5..d87a8535e3 100644 --- a/docs/wiz/MacOS_Other_Gui_NUnit_AzureDevOps.md +++ b/docs/wiz/MacOS_Other_Gui_NUnit_AzureDevOps.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_NUnit_GitHubActions.md b/docs/wiz/MacOS_Other_Gui_NUnit_GitHubActions.md index b4fca9c740..bd4da97daf 100644 --- a/docs/wiz/MacOS_Other_Gui_NUnit_GitHubActions.md +++ b/docs/wiz/MacOS_Other_Gui_NUnit_GitHubActions.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_NUnit_None.md b/docs/wiz/MacOS_Other_Gui_NUnit_None.md index 7b499c33e9..2df1f61afa 100644 --- a/docs/wiz/MacOS_Other_Gui_NUnit_None.md +++ b/docs/wiz/MacOS_Other_Gui_NUnit_None.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Other_Gui_Xunit_AppVeyor.md b/docs/wiz/MacOS_Other_Gui_Xunit_AppVeyor.md index 42de7cd2ae..267335f1ed 100644 --- a/docs/wiz/MacOS_Other_Gui_Xunit_AppVeyor.md +++ b/docs/wiz/MacOS_Other_Gui_Xunit_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/MacOS_Other_Gui_Xunit_AzureDevOps.md b/docs/wiz/MacOS_Other_Gui_Xunit_AzureDevOps.md index c2c765fed7..49861dea2b 100644 --- a/docs/wiz/MacOS_Other_Gui_Xunit_AzureDevOps.md +++ b/docs/wiz/MacOS_Other_Gui_Xunit_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/MacOS_Other_Gui_Xunit_GitHubActions.md b/docs/wiz/MacOS_Other_Gui_Xunit_GitHubActions.md index 4c823f39c6..79653e5e43 100644 --- a/docs/wiz/MacOS_Other_Gui_Xunit_GitHubActions.md +++ b/docs/wiz/MacOS_Other_Gui_Xunit_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/MacOS_Other_Gui_Xunit_None.md b/docs/wiz/MacOS_Other_Gui_Xunit_None.md index 6b01ab0ccf..d4c3bd4a5f 100644 --- a/docs/wiz/MacOS_Other_Gui_Xunit_None.md +++ b/docs/wiz/MacOS_Other_Gui_Xunit_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/MacOS_Rider_Gui_Fixie_AppVeyor.md b/docs/wiz/MacOS_Rider_Gui_Fixie_AppVeyor.md index b7f6f75251..de7c5500d7 100644 --- a/docs/wiz/MacOS_Rider_Gui_Fixie_AppVeyor.md +++ b/docs/wiz/MacOS_Rider_Gui_Fixie_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_Fixie_AzureDevOps.md b/docs/wiz/MacOS_Rider_Gui_Fixie_AzureDevOps.md index 65835a6f9f..58b7c77af1 100644 --- a/docs/wiz/MacOS_Rider_Gui_Fixie_AzureDevOps.md +++ b/docs/wiz/MacOS_Rider_Gui_Fixie_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_Fixie_GitHubActions.md b/docs/wiz/MacOS_Rider_Gui_Fixie_GitHubActions.md index bc0c48e123..4f0d81eadc 100644 --- a/docs/wiz/MacOS_Rider_Gui_Fixie_GitHubActions.md +++ b/docs/wiz/MacOS_Rider_Gui_Fixie_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_Fixie_None.md b/docs/wiz/MacOS_Rider_Gui_Fixie_None.md index 9ab30f6259..f9a130f394 100644 --- a/docs/wiz/MacOS_Rider_Gui_Fixie_None.md +++ b/docs/wiz/MacOS_Rider_Gui_Fixie_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_MSTest_AppVeyor.md b/docs/wiz/MacOS_Rider_Gui_MSTest_AppVeyor.md index 9518b37a1a..ff70bc1c66 100644 --- a/docs/wiz/MacOS_Rider_Gui_MSTest_AppVeyor.md +++ b/docs/wiz/MacOS_Rider_Gui_MSTest_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_MSTest_AzureDevOps.md b/docs/wiz/MacOS_Rider_Gui_MSTest_AzureDevOps.md index c571a2eb3e..2ac669cb8b 100644 --- a/docs/wiz/MacOS_Rider_Gui_MSTest_AzureDevOps.md +++ b/docs/wiz/MacOS_Rider_Gui_MSTest_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_MSTest_GitHubActions.md b/docs/wiz/MacOS_Rider_Gui_MSTest_GitHubActions.md index c1e5b64a17..a8e7aa7296 100644 --- a/docs/wiz/MacOS_Rider_Gui_MSTest_GitHubActions.md +++ b/docs/wiz/MacOS_Rider_Gui_MSTest_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_MSTest_None.md b/docs/wiz/MacOS_Rider_Gui_MSTest_None.md index ef0a2746df..fc45a57d46 100644 --- a/docs/wiz/MacOS_Rider_Gui_MSTest_None.md +++ b/docs/wiz/MacOS_Rider_Gui_MSTest_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_NUnit_AppVeyor.md b/docs/wiz/MacOS_Rider_Gui_NUnit_AppVeyor.md index a75fec3f04..3138a32bb9 100644 --- a/docs/wiz/MacOS_Rider_Gui_NUnit_AppVeyor.md +++ b/docs/wiz/MacOS_Rider_Gui_NUnit_AppVeyor.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_NUnit_AzureDevOps.md b/docs/wiz/MacOS_Rider_Gui_NUnit_AzureDevOps.md index f8d021c620..add2c1397b 100644 --- a/docs/wiz/MacOS_Rider_Gui_NUnit_AzureDevOps.md +++ b/docs/wiz/MacOS_Rider_Gui_NUnit_AzureDevOps.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_NUnit_GitHubActions.md b/docs/wiz/MacOS_Rider_Gui_NUnit_GitHubActions.md index 7ccdfb6fda..48e690b8d9 100644 --- a/docs/wiz/MacOS_Rider_Gui_NUnit_GitHubActions.md +++ b/docs/wiz/MacOS_Rider_Gui_NUnit_GitHubActions.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_NUnit_None.md b/docs/wiz/MacOS_Rider_Gui_NUnit_None.md index 98db8de991..0b66868a31 100644 --- a/docs/wiz/MacOS_Rider_Gui_NUnit_None.md +++ b/docs/wiz/MacOS_Rider_Gui_NUnit_None.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/MacOS_Rider_Gui_Xunit_AppVeyor.md b/docs/wiz/MacOS_Rider_Gui_Xunit_AppVeyor.md index 234e81ef7b..3449cd0fe2 100644 --- a/docs/wiz/MacOS_Rider_Gui_Xunit_AppVeyor.md +++ b/docs/wiz/MacOS_Rider_Gui_Xunit_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/MacOS_Rider_Gui_Xunit_AzureDevOps.md b/docs/wiz/MacOS_Rider_Gui_Xunit_AzureDevOps.md index a5e2d21d7d..ee07d90b89 100644 --- a/docs/wiz/MacOS_Rider_Gui_Xunit_AzureDevOps.md +++ b/docs/wiz/MacOS_Rider_Gui_Xunit_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/MacOS_Rider_Gui_Xunit_GitHubActions.md b/docs/wiz/MacOS_Rider_Gui_Xunit_GitHubActions.md index 2477bf6dbc..bc95a713d3 100644 --- a/docs/wiz/MacOS_Rider_Gui_Xunit_GitHubActions.md +++ b/docs/wiz/MacOS_Rider_Gui_Xunit_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/MacOS_Rider_Gui_Xunit_None.md b/docs/wiz/MacOS_Rider_Gui_Xunit_None.md index aa1ced74c1..df37843a15 100644 --- a/docs/wiz/MacOS_Rider_Gui_Xunit_None.md +++ b/docs/wiz/MacOS_Rider_Gui_Xunit_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_Other_Gui_Fixie_AppVeyor.md b/docs/wiz/Windows_Other_Gui_Fixie_AppVeyor.md index 61239fabf1..3ca17b2458 100644 --- a/docs/wiz/Windows_Other_Gui_Fixie_AppVeyor.md +++ b/docs/wiz/Windows_Other_Gui_Fixie_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_Fixie_AzureDevOps.md b/docs/wiz/Windows_Other_Gui_Fixie_AzureDevOps.md index 2967e11466..ba4fd00109 100644 --- a/docs/wiz/Windows_Other_Gui_Fixie_AzureDevOps.md +++ b/docs/wiz/Windows_Other_Gui_Fixie_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_Fixie_GitHubActions.md b/docs/wiz/Windows_Other_Gui_Fixie_GitHubActions.md index 2387371231..eccb99b1ab 100644 --- a/docs/wiz/Windows_Other_Gui_Fixie_GitHubActions.md +++ b/docs/wiz/Windows_Other_Gui_Fixie_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_Fixie_None.md b/docs/wiz/Windows_Other_Gui_Fixie_None.md index b3e352285e..21ee5a6a8b 100644 --- a/docs/wiz/Windows_Other_Gui_Fixie_None.md +++ b/docs/wiz/Windows_Other_Gui_Fixie_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_MSTest_AppVeyor.md b/docs/wiz/Windows_Other_Gui_MSTest_AppVeyor.md index 626b87b2dc..136166bfd5 100644 --- a/docs/wiz/Windows_Other_Gui_MSTest_AppVeyor.md +++ b/docs/wiz/Windows_Other_Gui_MSTest_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_MSTest_AzureDevOps.md b/docs/wiz/Windows_Other_Gui_MSTest_AzureDevOps.md index f751330cbf..8dfc966c26 100644 --- a/docs/wiz/Windows_Other_Gui_MSTest_AzureDevOps.md +++ b/docs/wiz/Windows_Other_Gui_MSTest_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_MSTest_GitHubActions.md b/docs/wiz/Windows_Other_Gui_MSTest_GitHubActions.md index 90473007ab..ed11ba996b 100644 --- a/docs/wiz/Windows_Other_Gui_MSTest_GitHubActions.md +++ b/docs/wiz/Windows_Other_Gui_MSTest_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_MSTest_None.md b/docs/wiz/Windows_Other_Gui_MSTest_None.md index 1045b7be44..61e8cc6d01 100644 --- a/docs/wiz/Windows_Other_Gui_MSTest_None.md +++ b/docs/wiz/Windows_Other_Gui_MSTest_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_NUnit_AppVeyor.md b/docs/wiz/Windows_Other_Gui_NUnit_AppVeyor.md index 2717b381a3..42a9d9628e 100644 --- a/docs/wiz/Windows_Other_Gui_NUnit_AppVeyor.md +++ b/docs/wiz/Windows_Other_Gui_NUnit_AppVeyor.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_NUnit_AzureDevOps.md b/docs/wiz/Windows_Other_Gui_NUnit_AzureDevOps.md index 5fcbef684e..c45e583b4c 100644 --- a/docs/wiz/Windows_Other_Gui_NUnit_AzureDevOps.md +++ b/docs/wiz/Windows_Other_Gui_NUnit_AzureDevOps.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_NUnit_GitHubActions.md b/docs/wiz/Windows_Other_Gui_NUnit_GitHubActions.md index 4527606154..dd52c085f4 100644 --- a/docs/wiz/Windows_Other_Gui_NUnit_GitHubActions.md +++ b/docs/wiz/Windows_Other_Gui_NUnit_GitHubActions.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_NUnit_None.md b/docs/wiz/Windows_Other_Gui_NUnit_None.md index cfcb80f3f5..f3fa12d5a6 100644 --- a/docs/wiz/Windows_Other_Gui_NUnit_None.md +++ b/docs/wiz/Windows_Other_Gui_NUnit_None.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Other_Gui_Xunit_AppVeyor.md b/docs/wiz/Windows_Other_Gui_Xunit_AppVeyor.md index fe8c82f89d..f445f8f8bf 100644 --- a/docs/wiz/Windows_Other_Gui_Xunit_AppVeyor.md +++ b/docs/wiz/Windows_Other_Gui_Xunit_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_Other_Gui_Xunit_AzureDevOps.md b/docs/wiz/Windows_Other_Gui_Xunit_AzureDevOps.md index f47fd15c8b..7008ae12a3 100644 --- a/docs/wiz/Windows_Other_Gui_Xunit_AzureDevOps.md +++ b/docs/wiz/Windows_Other_Gui_Xunit_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_Other_Gui_Xunit_GitHubActions.md b/docs/wiz/Windows_Other_Gui_Xunit_GitHubActions.md index 157d8c75b4..be7260f994 100644 --- a/docs/wiz/Windows_Other_Gui_Xunit_GitHubActions.md +++ b/docs/wiz/Windows_Other_Gui_Xunit_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_Other_Gui_Xunit_None.md b/docs/wiz/Windows_Other_Gui_Xunit_None.md index 437369a8fc..0692124b8d 100644 --- a/docs/wiz/Windows_Other_Gui_Xunit_None.md +++ b/docs/wiz/Windows_Other_Gui_Xunit_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_Rider_Gui_Fixie_AppVeyor.md b/docs/wiz/Windows_Rider_Gui_Fixie_AppVeyor.md index 92dd9257be..99f7a3eb74 100644 --- a/docs/wiz/Windows_Rider_Gui_Fixie_AppVeyor.md +++ b/docs/wiz/Windows_Rider_Gui_Fixie_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_Fixie_AzureDevOps.md b/docs/wiz/Windows_Rider_Gui_Fixie_AzureDevOps.md index 3f1d130eb4..0eb7bbaed3 100644 --- a/docs/wiz/Windows_Rider_Gui_Fixie_AzureDevOps.md +++ b/docs/wiz/Windows_Rider_Gui_Fixie_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_Fixie_GitHubActions.md b/docs/wiz/Windows_Rider_Gui_Fixie_GitHubActions.md index 6c18fe5f34..6793072e6e 100644 --- a/docs/wiz/Windows_Rider_Gui_Fixie_GitHubActions.md +++ b/docs/wiz/Windows_Rider_Gui_Fixie_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_Fixie_None.md b/docs/wiz/Windows_Rider_Gui_Fixie_None.md index af89439fcd..62bc5acd46 100644 --- a/docs/wiz/Windows_Rider_Gui_Fixie_None.md +++ b/docs/wiz/Windows_Rider_Gui_Fixie_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_MSTest_AppVeyor.md b/docs/wiz/Windows_Rider_Gui_MSTest_AppVeyor.md index 1ff1c0b666..61ce0285ae 100644 --- a/docs/wiz/Windows_Rider_Gui_MSTest_AppVeyor.md +++ b/docs/wiz/Windows_Rider_Gui_MSTest_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_MSTest_AzureDevOps.md b/docs/wiz/Windows_Rider_Gui_MSTest_AzureDevOps.md index ce59439c4a..91929bd6b3 100644 --- a/docs/wiz/Windows_Rider_Gui_MSTest_AzureDevOps.md +++ b/docs/wiz/Windows_Rider_Gui_MSTest_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_MSTest_GitHubActions.md b/docs/wiz/Windows_Rider_Gui_MSTest_GitHubActions.md index 7988fb2d9d..864d1b51e7 100644 --- a/docs/wiz/Windows_Rider_Gui_MSTest_GitHubActions.md +++ b/docs/wiz/Windows_Rider_Gui_MSTest_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_MSTest_None.md b/docs/wiz/Windows_Rider_Gui_MSTest_None.md index 930fd0b247..d611b81fa0 100644 --- a/docs/wiz/Windows_Rider_Gui_MSTest_None.md +++ b/docs/wiz/Windows_Rider_Gui_MSTest_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_NUnit_AppVeyor.md b/docs/wiz/Windows_Rider_Gui_NUnit_AppVeyor.md index 1036401fb6..86fbf58062 100644 --- a/docs/wiz/Windows_Rider_Gui_NUnit_AppVeyor.md +++ b/docs/wiz/Windows_Rider_Gui_NUnit_AppVeyor.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_NUnit_AzureDevOps.md b/docs/wiz/Windows_Rider_Gui_NUnit_AzureDevOps.md index 9a1316a4a5..db90bf84d2 100644 --- a/docs/wiz/Windows_Rider_Gui_NUnit_AzureDevOps.md +++ b/docs/wiz/Windows_Rider_Gui_NUnit_AzureDevOps.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_NUnit_GitHubActions.md b/docs/wiz/Windows_Rider_Gui_NUnit_GitHubActions.md index 984f540036..9704c83f0c 100644 --- a/docs/wiz/Windows_Rider_Gui_NUnit_GitHubActions.md +++ b/docs/wiz/Windows_Rider_Gui_NUnit_GitHubActions.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_NUnit_None.md b/docs/wiz/Windows_Rider_Gui_NUnit_None.md index 74db288a76..13696bdfb0 100644 --- a/docs/wiz/Windows_Rider_Gui_NUnit_None.md +++ b/docs/wiz/Windows_Rider_Gui_NUnit_None.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_Rider_Gui_Xunit_AppVeyor.md b/docs/wiz/Windows_Rider_Gui_Xunit_AppVeyor.md index 4ddf61d969..62e36b0749 100644 --- a/docs/wiz/Windows_Rider_Gui_Xunit_AppVeyor.md +++ b/docs/wiz/Windows_Rider_Gui_Xunit_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_Rider_Gui_Xunit_AzureDevOps.md b/docs/wiz/Windows_Rider_Gui_Xunit_AzureDevOps.md index c50c91c76a..b9aad51fcf 100644 --- a/docs/wiz/Windows_Rider_Gui_Xunit_AzureDevOps.md +++ b/docs/wiz/Windows_Rider_Gui_Xunit_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_Rider_Gui_Xunit_GitHubActions.md b/docs/wiz/Windows_Rider_Gui_Xunit_GitHubActions.md index d5296929b8..0ece0a86d7 100644 --- a/docs/wiz/Windows_Rider_Gui_Xunit_GitHubActions.md +++ b/docs/wiz/Windows_Rider_Gui_Xunit_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_Rider_Gui_Xunit_None.md b/docs/wiz/Windows_Rider_Gui_Xunit_None.md index eb41f3557a..8d566e8be6 100644 --- a/docs/wiz/Windows_Rider_Gui_Xunit_None.md +++ b/docs/wiz/Windows_Rider_Gui_Xunit_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_AppVeyor.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_AppVeyor.md index e0b950a280..b9e263bd94 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_AppVeyor.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_AzureDevOps.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_AzureDevOps.md index 81e6f20be0..acfb0ca945 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_AzureDevOps.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_GitHubActions.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_GitHubActions.md index 5e9e852020..082ac86e40 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_GitHubActions.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_None.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_None.md index d7c9f0313c..996a81f3d2 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_None.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Fixie_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_AppVeyor.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_AppVeyor.md index 2354dfefd7..8b68f4f1b0 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_AppVeyor.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_AzureDevOps.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_AzureDevOps.md index 959f0e556c..881013e1d9 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_AzureDevOps.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_GitHubActions.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_GitHubActions.md index c23ad9c73c..cc57ff1860 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_GitHubActions.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_None.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_None.md index 7980206c22..6316335d69 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_None.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_AppVeyor.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_AppVeyor.md index e5744e8ed6..beed52a59b 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_AppVeyor.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_AppVeyor.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_AzureDevOps.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_AzureDevOps.md index e942bdf8bd..f02ce8e66f 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_AzureDevOps.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_AzureDevOps.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_GitHubActions.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_GitHubActions.md index bdd512c9c8..a535e38f5e 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_GitHubActions.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_GitHubActions.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_None.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_None.md index ee83e9e8ff..4e6b763bb2 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_None.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_None.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_AppVeyor.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_AppVeyor.md index f26747d418..d3fbcbdfa6 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_AppVeyor.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_AzureDevOps.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_AzureDevOps.md index 8b8f6da2fd..30abc910d8 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_AzureDevOps.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_GitHubActions.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_GitHubActions.md index 52ee73f670..f60b186118 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_GitHubActions.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_None.md b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_None.md index aafdbb1e3f..ba9e1b3622 100644 --- a/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_None.md +++ b/docs/wiz/Windows_VisualStudioWithReSharper_Gui_Xunit_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_VisualStudio_Gui_Fixie_AppVeyor.md b/docs/wiz/Windows_VisualStudio_Gui_Fixie_AppVeyor.md index 8263294270..d27f222b6c 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_Fixie_AppVeyor.md +++ b/docs/wiz/Windows_VisualStudio_Gui_Fixie_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_Fixie_AzureDevOps.md b/docs/wiz/Windows_VisualStudio_Gui_Fixie_AzureDevOps.md index 9c73e2579d..832911fb20 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_Fixie_AzureDevOps.md +++ b/docs/wiz/Windows_VisualStudio_Gui_Fixie_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_Fixie_GitHubActions.md b/docs/wiz/Windows_VisualStudio_Gui_Fixie_GitHubActions.md index 2fa63ee17f..f7b9a0b551 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_Fixie_GitHubActions.md +++ b/docs/wiz/Windows_VisualStudio_Gui_Fixie_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_Fixie_None.md b/docs/wiz/Windows_VisualStudio_Gui_Fixie_None.md index b163af773e..47e21b13d1 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_Fixie_None.md +++ b/docs/wiz/Windows_VisualStudio_Gui_Fixie_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_MSTest_AppVeyor.md b/docs/wiz/Windows_VisualStudio_Gui_MSTest_AppVeyor.md index 4a2c25fe7c..7eb2fe6474 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_MSTest_AppVeyor.md +++ b/docs/wiz/Windows_VisualStudio_Gui_MSTest_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_MSTest_AzureDevOps.md b/docs/wiz/Windows_VisualStudio_Gui_MSTest_AzureDevOps.md index 9eadb58e09..9022b3ede5 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_MSTest_AzureDevOps.md +++ b/docs/wiz/Windows_VisualStudio_Gui_MSTest_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_MSTest_GitHubActions.md b/docs/wiz/Windows_VisualStudio_Gui_MSTest_GitHubActions.md index ad334209ec..dd46af0db9 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_MSTest_GitHubActions.md +++ b/docs/wiz/Windows_VisualStudio_Gui_MSTest_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_MSTest_None.md b/docs/wiz/Windows_VisualStudio_Gui_MSTest_None.md index 2031bc68c3..a869406ccb 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_MSTest_None.md +++ b/docs/wiz/Windows_VisualStudio_Gui_MSTest_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_NUnit_AppVeyor.md b/docs/wiz/Windows_VisualStudio_Gui_NUnit_AppVeyor.md index 4a4fbfda9c..2a7341f63f 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_NUnit_AppVeyor.md +++ b/docs/wiz/Windows_VisualStudio_Gui_NUnit_AppVeyor.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_NUnit_AzureDevOps.md b/docs/wiz/Windows_VisualStudio_Gui_NUnit_AzureDevOps.md index eeae488ba2..3b12e9d8cf 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_NUnit_AzureDevOps.md +++ b/docs/wiz/Windows_VisualStudio_Gui_NUnit_AzureDevOps.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_NUnit_GitHubActions.md b/docs/wiz/Windows_VisualStudio_Gui_NUnit_GitHubActions.md index 85f1114270..a43961c579 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_NUnit_GitHubActions.md +++ b/docs/wiz/Windows_VisualStudio_Gui_NUnit_GitHubActions.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_NUnit_None.md b/docs/wiz/Windows_VisualStudio_Gui_NUnit_None.md index 375172e973..0d5ce92a71 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_NUnit_None.md +++ b/docs/wiz/Windows_VisualStudio_Gui_NUnit_None.md @@ -19,7 +19,7 @@ Add the following packages to the test project: ```csproj - + ``` snippet source | anchor diff --git a/docs/wiz/Windows_VisualStudio_Gui_Xunit_AppVeyor.md b/docs/wiz/Windows_VisualStudio_Gui_Xunit_AppVeyor.md index 5b72bb0d73..c5f6677b75 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_Xunit_AppVeyor.md +++ b/docs/wiz/Windows_VisualStudio_Gui_Xunit_AppVeyor.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_VisualStudio_Gui_Xunit_AzureDevOps.md b/docs/wiz/Windows_VisualStudio_Gui_Xunit_AzureDevOps.md index ce7ed3c3a5..79d9226212 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_Xunit_AzureDevOps.md +++ b/docs/wiz/Windows_VisualStudio_Gui_Xunit_AzureDevOps.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_VisualStudio_Gui_Xunit_GitHubActions.md b/docs/wiz/Windows_VisualStudio_Gui_Xunit_GitHubActions.md index 0bf44df99d..7f1d55fdb0 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_Xunit_GitHubActions.md +++ b/docs/wiz/Windows_VisualStudio_Gui_Xunit_GitHubActions.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/docs/wiz/Windows_VisualStudio_Gui_Xunit_None.md b/docs/wiz/Windows_VisualStudio_Gui_Xunit_None.md index f9c2974727..305b8cf80d 100644 --- a/docs/wiz/Windows_VisualStudio_Gui_Xunit_None.md +++ b/docs/wiz/Windows_VisualStudio_Gui_Xunit_None.md @@ -18,7 +18,7 @@ Add the following packages to the test project: ```csproj - + ``` diff --git a/readme.md b/readme.md index f1c773d15f..2d5f69a5f2 100644 --- a/readme.md +++ b/readme.md @@ -706,11 +706,11 @@ information sources and warn about particular gotchas: * [Verify.Aspose](https://github.com/VerifyTests/Verify.Aspose): Verification of documents (pdf, docx, xlsx, and pptx) via Aspose. * [Verify.AustralianProtectiveMarkings](https://github.com/pmcau/AustralianProtectiveMarkings): Verification of AustralianProtectiveMarkings. * [Verify.Avalonia](https://github.com/VerifyTests/Verify.Avalonia): Verification of [Avalonia UIs](https://avaloniaui.net/). -* [Verify.Blazor](https://github.com/VerifyTests/Verify.Blazor): Verification of [Blazor Component](https://docs.microsoft.com/en-us/aspnet/core/blazor/#components) via [bunit](https://bunit.egilhansen.com) or via raw Blazor rendering. +* [Verify.Blazor](https://github.com/VerifyTests/Verify.Blazor): Verification of [Blazor Component](https://docs.microsoft.com/en-us/aspnet/core/blazor/#components) Blazor rendering. +* [Verify.Bunit](https://github.com/VerifyTests/Verify.Bunit): Verification of [Blazor Component](https://docs.microsoft.com/en-us/aspnet/core/blazor/#components) via [bunit](https://bunit.egilhansen.com). * [Verify.Brighter](https://github.com/VerifyTests/Verify.Brighter): Verification of [Brighter](https://www.goparamore.io/) bits. * [Verify.CommunityToolkit.Mvvm](https://github.com/VerifyTests/Verify.CommunityToolkit.Mvvm): Verification of [CommunityToolkit.Mvvm](https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/). * [Verify.Cosmos](https://github.com/VerifyTests/Verify.Cosmos): Verification of [Azure CosmosDB](https://docs.microsoft.com/en-us/azure/cosmos-db/). -* Bunsen-Burner support: [BunsenBurner.Verify.NUnit](https://github.com/bmazzarol/Bunsen-Burner/blob/main/BunsenBurner.Verify.NUnit/README.md) / [BunsenBurner.Verify.Xunit](https://github.com/bmazzarol/Bunsen-Burner/blob/main/BunsenBurner.Verify.Xunit/README.md). * [Verify.DiffPlex](https://github.com/VerifyTests/Verify.DiffPlex): Comparison of text via [DiffPlex](https://github.com/mmanela/diffplex). * [Verify.DocNet](https://github.com/VerifyTests/Verify.DocNet): Verification of pdfs via [DocNet](https://github.com/GowenGit/docnet). * [Verify.EntityFramework](https://github.com/VerifyTests/Verify.EntityFramework): Verification of EntityFramework bits. diff --git a/readme.source.md b/readme.source.md index 7da3572f79..464af04949 100644 --- a/readme.source.md +++ b/readme.source.md @@ -353,11 +353,11 @@ information sources and warn about particular gotchas: * [Verify.Aspose](https://github.com/VerifyTests/Verify.Aspose): Verification of documents (pdf, docx, xlsx, and pptx) via Aspose. * [Verify.AustralianProtectiveMarkings](https://github.com/pmcau/AustralianProtectiveMarkings): Verification of AustralianProtectiveMarkings. * [Verify.Avalonia](https://github.com/VerifyTests/Verify.Avalonia): Verification of [Avalonia UIs](https://avaloniaui.net/). -* [Verify.Blazor](https://github.com/VerifyTests/Verify.Blazor): Verification of [Blazor Component](https://docs.microsoft.com/en-us/aspnet/core/blazor/#components) via [bunit](https://bunit.egilhansen.com) or via raw Blazor rendering. +* [Verify.Blazor](https://github.com/VerifyTests/Verify.Blazor): Verification of [Blazor Component](https://docs.microsoft.com/en-us/aspnet/core/blazor/#components) Blazor rendering. +* [Verify.Bunit](https://github.com/VerifyTests/Verify.Bunit): Verification of [Blazor Component](https://docs.microsoft.com/en-us/aspnet/core/blazor/#components) via [bunit](https://bunit.egilhansen.com). * [Verify.Brighter](https://github.com/VerifyTests/Verify.Brighter): Verification of [Brighter](https://www.goparamore.io/) bits. * [Verify.CommunityToolkit.Mvvm](https://github.com/VerifyTests/Verify.CommunityToolkit.Mvvm): Verification of [CommunityToolkit.Mvvm](https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/). * [Verify.Cosmos](https://github.com/VerifyTests/Verify.Cosmos): Verification of [Azure CosmosDB](https://docs.microsoft.com/en-us/azure/cosmos-db/). -* Bunsen-Burner support: [BunsenBurner.Verify.NUnit](https://github.com/bmazzarol/Bunsen-Burner/blob/main/BunsenBurner.Verify.NUnit/README.md) / [BunsenBurner.Verify.Xunit](https://github.com/bmazzarol/Bunsen-Burner/blob/main/BunsenBurner.Verify.Xunit/README.md). * [Verify.DiffPlex](https://github.com/VerifyTests/Verify.DiffPlex): Comparison of text via [DiffPlex](https://github.com/mmanela/diffplex). * [Verify.DocNet](https://github.com/VerifyTests/Verify.DocNet): Verification of pdfs via [DocNet](https://github.com/GowenGit/docnet). * [Verify.EntityFramework](https://github.com/VerifyTests/Verify.EntityFramework): Verification of EntityFramework bits. diff --git a/src/Benchmarks/FileNameCleanerBenchmarks.cs b/src/Benchmarks/FileNameCleanerBenchmarks.cs deleted file mode 100644 index 0b88434e24..0000000000 --- a/src/Benchmarks/FileNameCleanerBenchmarks.cs +++ /dev/null @@ -1,10 +0,0 @@ -[MemoryDiagnoser(false)] -public class FileNameCleanerBenchmarks -{ - [Benchmark] - public void ReplaceInvalidFileNameChars() - { - "Ant apple | The Bear Fox > Theater".ReplaceInvalidFileNameChars(); - "Ant apple The Bear Fox Theater".ReplaceInvalidFileNameChars(); - } -} \ No newline at end of file diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 91fe20c3d9..6aa2657098 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,7 +2,7 @@ CS1591;CS0649;xUnit1026;xUnit1013;CS1573;VerifyTestsProjectDir;VerifySetParameters;PolyFillTargetsForNuget - 25.3.2 + 26.1.0 enable preview 1.0.0 diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 33f4dbf2e1..73597e5574 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -23,7 +23,7 @@ - + diff --git a/src/Verify.NUnit.Tests/MyNamespace.TestFixtureSourceUsageWithNamespace(Value1,1).Test.verified.txt b/src/Verify.NUnit.Tests/MyNamespace.TestFixtureSourceUsageWithNamespace(Value1,1).Test.verified.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).WithMethodLevel_arg2=3.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).WithMethodLevel_arg2=3.verified.txt deleted file mode 100644 index 3ee291f7bd..0000000000 --- a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).WithMethodLevel_arg2=3.verified.txt +++ /dev/null @@ -1 +0,0 @@ -Value \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).WithMethodLevel_arg2=4.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).WithMethodLevel_arg2=4.verified.txt deleted file mode 100644 index 3ee291f7bd..0000000000 --- a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).WithMethodLevel_arg2=4.verified.txt +++ /dev/null @@ -1 +0,0 @@ -Value \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).IgnoreParameters.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).IgnoreParameters.verified.txt deleted file mode 100644 index 3ee291f7bd..0000000000 --- a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).IgnoreParameters.verified.txt +++ /dev/null @@ -1 +0,0 @@ -Value \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).Simple.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).Simple.verified.txt deleted file mode 100644 index 3ee291f7bd..0000000000 --- a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).Simple.verified.txt +++ /dev/null @@ -1 +0,0 @@ -Value \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLeve_arg2=3.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLeve_arg2=3.verified.txt deleted file mode 100644 index 3ee291f7bd..0000000000 --- a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLeve_arg2=3.verified.txt +++ /dev/null @@ -1 +0,0 @@ -Value \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLeve_arg2=4.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLeve_arg2=4.verified.txt deleted file mode 100644 index 3ee291f7bd..0000000000 --- a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLeve_arg2=4.verified.txt +++ /dev/null @@ -1 +0,0 @@ -Value \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLevel_arg2=3.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLevel_arg2=3.verified.txt deleted file mode 100644 index 3ee291f7bd..0000000000 --- a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLevel_arg2=3.verified.txt +++ /dev/null @@ -1 +0,0 @@ -Value \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLevel_arg2=4.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLevel_arg2=4.verified.txt deleted file mode 100644 index 3ee291f7bd..0000000000 --- a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(2).WithMethodLevel_arg2=4.verified.txt +++ /dev/null @@ -1 +0,0 @@ -Value \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).IgnoreParameters.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.IgnoreParameters.verified.txt similarity index 100% rename from src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).IgnoreParameters.verified.txt rename to src/Verify.NUnit.Tests/Snippets/ClassLevelParams.IgnoreParameters.verified.txt diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).Simple.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.Simple_arg1=1.verified.txt similarity index 100% rename from src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).Simple.verified.txt rename to src/Verify.NUnit.Tests/Snippets/ClassLevelParams.Simple_arg1=1.verified.txt diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.Simple_arg1=2.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.Simple_arg1=2.verified.txt new file mode 100644 index 0000000000..5f282702bb --- /dev/null +++ b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.Simple_arg1=2.verified.txt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).WithMethodLeve_arg2=3.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.WithMethodLevel_arg1=1_arg2=3.verified.txt similarity index 100% rename from src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).WithMethodLeve_arg2=3.verified.txt rename to src/Verify.NUnit.Tests/Snippets/ClassLevelParams.WithMethodLevel_arg1=1_arg2=3.verified.txt diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).WithMethodLeve_arg2=4.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.WithMethodLevel_arg1=1_arg2=4.verified.txt similarity index 100% rename from src/Verify.NUnit.Tests/Snippets/ClassLevelParams(1).WithMethodLeve_arg2=4.verified.txt rename to src/Verify.NUnit.Tests/Snippets/ClassLevelParams.WithMethodLevel_arg1=1_arg2=4.verified.txt diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.WithMethodLevel_arg1=2_arg2=3.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.WithMethodLevel_arg1=2_arg2=3.verified.txt new file mode 100644 index 0000000000..5f282702bb --- /dev/null +++ b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.WithMethodLevel_arg1=2_arg2=3.verified.txt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.WithMethodLevel_arg1=2_arg2=4.verified.txt b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.WithMethodLevel_arg1=2_arg2=4.verified.txt new file mode 100644 index 0000000000..5f282702bb --- /dev/null +++ b/src/Verify.NUnit.Tests/Snippets/ClassLevelParams.WithMethodLevel_arg1=2_arg2=4.verified.txt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ParametersSample.Double(1.1d)_arg=1.1.verified.txt b/src/Verify.NUnit.Tests/Snippets/ParametersSample.Double(1.1d)_arg=1.1.verified.txt new file mode 100644 index 0000000000..8ab02375ee --- /dev/null +++ b/src/Verify.NUnit.Tests/Snippets/ParametersSample.Double(1.1d)_arg=1.1.verified.txt @@ -0,0 +1 @@ +1.1 \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Snippets/ParametersSample.Float(1.1f)_arg=1.1.verified.txt b/src/Verify.NUnit.Tests/Snippets/ParametersSample.Float(1.1f)_arg=1.1.verified.txt new file mode 100644 index 0000000000..8ab02375ee --- /dev/null +++ b/src/Verify.NUnit.Tests/Snippets/ParametersSample.Float(1.1f)_arg=1.1.verified.txt @@ -0,0 +1 @@ +1.1 \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/TestFixtureSourceAndTestCaseUsage(Value2,2).Test_arg3=FromTestCase2.verified.txt b/src/Verify.NUnit.Tests/TestFixtureSourceAndTestCaseUsage.Test_arg1=Value2_arg2=2_arg3=FromTestCase2.verified.txt similarity index 100% rename from src/Verify.NUnit.Tests/TestFixtureSourceAndTestCaseUsage(Value2,2).Test_arg3=FromTestCase2.verified.txt rename to src/Verify.NUnit.Tests/TestFixtureSourceAndTestCaseUsage.Test_arg1=Value2_arg2=2_arg3=FromTestCase2.verified.txt diff --git a/src/Verify.NUnit.Tests/TestFixtureSourceUsage(Value1,1).Test.verified.txt b/src/Verify.NUnit.Tests/TestFixtureSourceUsage.Test_arg1=Value1_arg2=1.verified.txt similarity index 100% rename from src/Verify.NUnit.Tests/TestFixtureSourceUsage(Value1,1).Test.verified.txt rename to src/Verify.NUnit.Tests/TestFixtureSourceUsage.Test_arg1=Value1_arg2=1.verified.txt diff --git a/src/Verify.NUnit.Tests/TestFixtureSourceUsage(Value2,2).Test.verified.txt b/src/Verify.NUnit.Tests/TestFixtureSourceUsage.Test_arg1=Value2_arg2=2.verified.txt similarity index 100% rename from src/Verify.NUnit.Tests/TestFixtureSourceUsage(Value2,2).Test.verified.txt rename to src/Verify.NUnit.Tests/TestFixtureSourceUsage.Test_arg1=Value2_arg2=2.verified.txt diff --git a/src/Verify.NUnit.Tests/TestFixtureSourceUsageWithNamespace(Value1,1).Test.verified.txt b/src/Verify.NUnit.Tests/TestFixtureSourceUsageWithNamespace.Test_arg1=Value1_arg2=1.verified.txt similarity index 100% rename from src/Verify.NUnit.Tests/TestFixtureSourceUsageWithNamespace(Value1,1).Test.verified.txt rename to src/Verify.NUnit.Tests/TestFixtureSourceUsageWithNamespace.Test_arg1=Value1_arg2=1.verified.txt diff --git a/src/Verify.NUnit.Tests/TestFixtureSourceUsageWithNamespace(Value2,2).Test.verified.txt b/src/Verify.NUnit.Tests/TestFixtureSourceUsageWithNamespace.Test_arg1=Value2_arg2=2.verified.txt similarity index 100% rename from src/Verify.NUnit.Tests/TestFixtureSourceUsageWithNamespace(Value2,2).Test.verified.txt rename to src/Verify.NUnit.Tests/TestFixtureSourceUsageWithNamespace.Test_arg1=Value2_arg2=2.verified.txt diff --git a/src/Verify.NUnit.Tests/Tests.TestCaseWithNameAndInvalidChars_TextForParameter.verified.txt b/src/Verify.NUnit.Tests/Tests.TestCaseWithNameAndInvalidChars_TextForParameter.verified.txt new file mode 100644 index 0000000000..39d0344b5c --- /dev/null +++ b/src/Verify.NUnit.Tests/Tests.TestCaseWithNameAndInvalidChars_TextForParameter.verified.txt @@ -0,0 +1 @@ +Value1 \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Tests.TestCaseWithNameAndInvalidChars_arg=Value1.verified.txt b/src/Verify.NUnit.Tests/Tests.TestCaseWithNameAndInvalidChars_arg=Value1.verified.txt new file mode 100644 index 0000000000..5f282702bb --- /dev/null +++ b/src/Verify.NUnit.Tests/Tests.TestCaseWithNameAndInvalidChars_arg=Value1.verified.txt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Tests.TestCaseWithName_TextForParameter.verified.txt b/src/Verify.NUnit.Tests/Tests.TestCaseWithName_TextForParameter.verified.txt new file mode 100644 index 0000000000..39d0344b5c --- /dev/null +++ b/src/Verify.NUnit.Tests/Tests.TestCaseWithName_TextForParameter.verified.txt @@ -0,0 +1 @@ +Value1 \ No newline at end of file diff --git a/src/Verify.NUnit.Tests/Tests.TestCaseWithName_arg=Value1.verified.txt b/src/Verify.NUnit.Tests/Tests.TestCaseWithName_arg=Value1.verified.txt new file mode 100644 index 0000000000..5f282702bb --- /dev/null +++ b/src/Verify.NUnit.Tests/Tests.TestCaseWithName_arg=Value1.verified.txt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Verify.NUnit/GlobalUsings.cs b/src/Verify.NUnit/GlobalUsings.cs index 0a6e81330c..f743e7df1e 100644 --- a/src/Verify.NUnit/GlobalUsings.cs +++ b/src/Verify.NUnit/GlobalUsings.cs @@ -3,3 +3,5 @@ global using NUnit.Framework.Internal; global using NUnit.Framework.Interfaces; global using VerifyTests; + +global using TestAdapter = NUnit.Framework.TestContext.TestAdapter; diff --git a/src/Verify.NUnit/Verifier.cs b/src/Verify.NUnit/Verifier.cs index 9fc681c84c..1dca4e29e0 100644 --- a/src/Verify.NUnit/Verifier.cs +++ b/src/Verify.NUnit/Verifier.cs @@ -31,63 +31,130 @@ static InnerVerifier BuildVerifier(string sourceFile, VerifySettings settings, b throw new("TestContext.CurrentContext.Test.Method is null. Verify can only be used from within a test method."); } - if (!settings.HasParameters && - adapter.Arguments.Length > 0) + var method = testMethod.MethodInfo; + var type = testMethod.TypeInfo.Type; + + IReadOnlyList? parameterNames; + if (settings.HasParameters) { - settings.SetParameters(adapter.Arguments); + parameterNames = GetParameterNames(adapter); } - - var customName = !adapter.FullName.StartsWith($"{testMethod.TypeInfo.FullName}.{testMethod.Name}"); - if (customName) + else { - - settings.typeName ??= adapter.GetTypeName(); - - settings.methodName ??= adapter.GetMethodName(); + var (names, values) = GetParameterInfo(adapter); + settings.SetParameters(values); + parameterNames = names; } - var type = testMethod.TypeInfo.Type; VerifierSettings.AssignTargetAssembly(type.Assembly); - var method = testMethod.MethodInfo; - var pathInfo = GetPathInfo(sourceFile, type, method); return new( sourceFile, settings, type.NameWithParent(), method.Name, - method.ParameterNames(), + parameterNames, pathInfo); } - static string GetMethodName(this TestContext.TestAdapter adapter) + static (IReadOnlyList? names, object?[] values) GetParameterInfo(TestAdapter adapter) { - var name = adapter.Name; - var indexOf = name.IndexOf('('); + var method = adapter.Method!; - if (indexOf != -1) + var methodParameterNames = method.MethodInfo.ParameterNames(); + + var parent = GetParent(adapter); + + if (parent == null) { - name = name[..indexOf]; + return (methodParameterNames, adapter.Arguments); } - return name.ReplaceInvalidFileNameChars(); + var argumentsLength = parent.Arguments.Length; + if (argumentsLength == 0) + { + return (methodParameterNames, adapter.Arguments); + } + + var names = GetConstructorParameterNames(method.TypeInfo.Type, argumentsLength); + if (methodParameterNames == null) + { + return (names.ToList(), parent.Arguments); + } + + return ( + [.. names, .. methodParameterNames], + [.. parent.Arguments, .. adapter.Arguments]); } - static string GetTypeName(this TestContext.TestAdapter adapter) + static IReadOnlyList? GetParameterNames(TestAdapter adapter) { - var fullName = adapter.FullName.AsSpan(); - var fullNameLength = fullName.Length - (adapter.Name.Length + 1); - var typeName = fullName[..fullNameLength]; - var typeInfo = adapter.Method!.TypeInfo; - // ReSharper disable once ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract - if (typeInfo.Namespace is not null) + var method = adapter.Method!; + + var methodParameterNames = method.MethodInfo.ParameterNames(); + + var parent = GetParent(adapter); + + if (parent == null) + { + return methodParameterNames; + } + + var names = GetConstructorParameterNames(method.TypeInfo.Type, parent.Arguments.Length); + if (methodParameterNames == null) + { + return names.ToList(); + } + + return [.. names, .. methodParameterNames]; + } + + static ITest? GetParent(TestAdapter adapter) + { + var test = GetTest(adapter); + var parent = test.Parent; + if (parent is ParameterizedMethodSuite methodSuite) + { + return methodSuite.Parent; + } + + return parent; + } + + static Test GetTest(TestAdapter adapter) + { + var field = adapter + .GetType() + .GetField("_test", BindingFlags.Instance | BindingFlags.NonPublic)!; + return (Test) field.GetValue(adapter)!; + } + + static IEnumerable GetConstructorParameterNames(Type type, int argumentsLength) + { + IEnumerable? names = null; + foreach (var constructor in type.GetConstructors(BindingFlags.Instance | BindingFlags.Public)) + { + var parameters = constructor.GetParameters(); + if (parameters.Length != argumentsLength) + { + continue; + } + + if (names != null) + { + throw new($"Found multiple constructors with {argumentsLength} parameters. Unable to derive names of parameters. Instead use UseParameters to pass in explicit parameter."); + } + + names = parameters.Select(_ => _.Name!); + } + + if (names == null) { - typeName = typeName[(typeInfo.Namespace.Length + 1)..]; + throw new($"Could not find constructor with {argumentsLength} parameters."); } - return typeName.ToString().Replace("\"", "") - .ReplaceInvalidFileNameChars(); + return names; } static SettingsTask Verify( diff --git a/src/Verify.Tests/FileNameCleanerBenchmarksTests.ReplaceInvalidFileNameChars.verified.txt b/src/Verify.Tests/FileNameCleanerBenchmarksTests.ReplaceInvalidFileNameChars.verified.txt deleted file mode 100644 index 6bc7ce878a..0000000000 --- a/src/Verify.Tests/FileNameCleanerBenchmarksTests.ReplaceInvalidFileNameChars.verified.txt +++ /dev/null @@ -1 +0,0 @@ -Ant apple - The Bear Fox - Theater \ No newline at end of file diff --git a/src/Verify.Tests/FileNameCleanerBenchmarksTests.cs b/src/Verify.Tests/FileNameCleanerBenchmarksTests.cs deleted file mode 100644 index 77db096977..0000000000 --- a/src/Verify.Tests/FileNameCleanerBenchmarksTests.cs +++ /dev/null @@ -1,6 +0,0 @@ -public class FileNameCleanerBenchmarksTests -{ - [Fact] - public Task ReplaceInvalidFileNameChars() => - Verify("Ant apple | The Bear Fox > Theater".ReplaceInvalidFileNameChars()); -} \ No newline at end of file diff --git a/src/Verify.Tests/RecordingTests.StartIdentifier1.verified.txt b/src/Verify.Tests/RecordingTests.StartIdentifier1.verified.txt new file mode 100644 index 0000000000..5f282702bb --- /dev/null +++ b/src/Verify.Tests/RecordingTests.StartIdentifier1.verified.txt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Verify.Tests/RecordingTests.StopIdentifier2.verified.txt b/src/Verify.Tests/RecordingTests.StopIdentifier2.verified.txt new file mode 100644 index 0000000000..5f282702bb --- /dev/null +++ b/src/Verify.Tests/RecordingTests.StopIdentifier2.verified.txt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Verify.Tests/RecordingTests.StopIdentifierOverlap.verified.txt b/src/Verify.Tests/RecordingTests.StopIdentifierOverlap.verified.txt new file mode 100644 index 0000000000..d09ad9b9f3 --- /dev/null +++ b/src/Verify.Tests/RecordingTests.StopIdentifierOverlap.verified.txt @@ -0,0 +1,5 @@ +[ + { + name: value + } +] \ No newline at end of file diff --git a/src/Verify.Tests/RecordingTests.cs b/src/Verify.Tests/RecordingTests.cs index 4b6d2db88e..d854cf5879 100644 --- a/src/Verify.Tests/RecordingTests.cs +++ b/src/Verify.Tests/RecordingTests.cs @@ -70,6 +70,15 @@ public Task TryAdd() #endregion + [Fact] + public void NameExists() + { + Recording.Start(); + Assert.False(Recording.NameExists("name")); + Recording.Add("name", "value"); + Assert.True(Recording.NameExists("name")); + } + #region RecordingScoped [Fact] @@ -158,11 +167,18 @@ public Task StopNotInResult() #endregion [Fact] - public Task StopIdentifier() + public void StartIdentifierThatDoesntFinish() { - Recording.Start("identifier"); - Recording.Add("identifier", "name", "value"); - return Verify(Recording.Stop("identifier")); + Recording.Start("identifierOverlap"); + Recording.Add("identifierOverlap", "name", "value"); + } + + [Fact] + public Task StopIdentifierOverlap() + { + Recording.Start("identifierOverlap"); + Recording.Add("identifierOverlap", "name", "value"); + return Verify(Recording.Stop("identifierOverlap")); } [Fact] diff --git a/src/Verify.Xunit/buildTransitive/Verify.Xunit.props b/src/Verify.Xunit/buildTransitive/Verify.Xunit.props index 1e9d71c77d..42880b18f1 100644 --- a/src/Verify.Xunit/buildTransitive/Verify.Xunit.props +++ b/src/Verify.Xunit/buildTransitive/Verify.Xunit.props @@ -14,16 +14,16 @@ Inputs="$(MSBuildAllProjects)" Outputs="$(IntermediateOutputPath)$(VerifyXunitAttributesFile)"> - $(IntermediateOutputPath)$(VerifyXunitAttributesFile) + $(IntermediateOutputPath)$(VerifyXunitAttributesFile) - + - + - + OutputFile="$(VerifyXunitAttributesFilePath)"> diff --git a/src/Verify/FileNameCleaner.cs b/src/Verify/FileNameCleaner.cs index 69a3173ae3..67b304635b 100644 --- a/src/Verify/FileNameCleaner.cs +++ b/src/Verify/FileNameCleaner.cs @@ -49,33 +49,6 @@ static SearchValues invalidFileNameSearchValues = SearchValues.Create(invalidFileNameChars); #endif - public static string ReplaceInvalidFileNameChars(this string value) - { - var span = value.AsSpan(); - - var index = IndexOfInvalidChar(span); - - if (index == -1) - { - return value; - } - - Span target = stackalloc char[value.Length]; - span.CopyTo(target); - - target[index] = '-'; - index++; - for (; index < target.Length; index++) - { - if (IsInvalid(target[index])) - { - target[index] = '-'; - } - } - - return target.ToString(); - } - static int IndexOfInvalidChar(CharSpan span) => #if NET8_0_OR_GREATER span.IndexOfAny(invalidFileNameSearchValues); diff --git a/src/Verify/Recording/Recording.cs b/src/Verify/Recording/Recording.cs index 1b64283540..5daaae6570 100644 --- a/src/Verify/Recording/Recording.cs +++ b/src/Verify/Recording/Recording.cs @@ -16,6 +16,10 @@ public static void Add(string name, object item) => CurrentState() .Add(name, item); + public static bool NameExists(string name) => + CurrentState() + .Items.Any(_ => _.Name == name); + public static void TryAdd(string name, object item) { var value = asyncLocal.Value; diff --git a/src/Verify/Recording/Recording_Named.cs b/src/Verify/Recording/Recording_Named.cs index a9b436e66f..9575bacd62 100644 --- a/src/Verify/Recording/Recording_Named.cs +++ b/src/Verify/Recording/Recording_Named.cs @@ -2,7 +2,7 @@ public static partial class Recording { - static ConcurrentDictionary namedState = new(StringComparer.OrdinalIgnoreCase); + static AsyncLocal?> asyncLocalNamed = new(); public static void Add(string identifier, string name, object item) => CurrentStateNamed(identifier) @@ -10,15 +10,25 @@ public static void Add(string identifier, string name, object item) => public static void TryAdd(string identifier, string name, object item) { - if (namedState.TryGetValue(identifier, out var state)) + var states = asyncLocalNamed.Value; + if (states != null) { - state.Add(name, item); + if (states.TryGetValue(identifier, out var state)) + { + state.Add(name, item); + } } } public static bool IsRecording(string identifier) { - if (!namedState.TryGetValue(identifier, out var state)) + var states = asyncLocalNamed.Value; + if (states == null) + { + return false; + } + + if (!states.TryGetValue(identifier, out var state)) { return false; } @@ -40,10 +50,14 @@ public static bool TryStop( string identifier, [NotNullWhen(true)] out IReadOnlyCollection? recorded) { - if (namedState.TryRemove(identifier, out var state)) + var states = asyncLocalNamed.Value; + if (states != null) { - recorded = state.Items; - return true; + if (states.TryRemove(identifier, out var state)) + { + recorded = state.Items; + return true; + } } recorded = null; @@ -52,7 +66,9 @@ public static bool TryStop( static State CurrentStateNamed(string identifier, [CallerMemberName] string caller = "") { - if (namedState.TryGetValue(identifier, out var state)) + var states = asyncLocalNamed.Value; + if (states != null && + states.TryGetValue(identifier, out var state)) { return state; } @@ -62,7 +78,9 @@ static State CurrentStateNamed(string identifier, [CallerMemberName] string call public static IDisposable Start(string identifier) { - if (!namedState.TryAdd(identifier, new())) + var states = asyncLocalNamed.Value ??= new(StringComparer.OrdinalIgnoreCase); + + if (!states.TryAdd(identifier, new())) { throw new("Recording already started"); } @@ -83,7 +101,13 @@ public static void Pause(string identifier) => public static void TryPause(string identifier) { - if (namedState.TryGetValue(identifier, out var state)) + var states = asyncLocalNamed.Value; + if (states == null) + { + return; + } + + if (states.TryGetValue(identifier, out var state)) { state.Pause(); } @@ -95,7 +119,13 @@ public static void Resume(string identifier) => public static void TryResume(string identifier) { - if (namedState.TryGetValue(identifier, out var state)) + var states = asyncLocalNamed.Value; + if (states == null) + { + return; + } + + if (states.TryGetValue(identifier, out var state)) { state.Resume(); } @@ -107,7 +137,13 @@ public static void Clear(string identifier) => public static void TryClear(string identifier) { - if (namedState.TryGetValue(identifier, out var state)) + var states = asyncLocalNamed.Value; + if (states == null) + { + return; + } + + if (states.TryGetValue(identifier, out var state)) { state.Clear(); } diff --git a/src/Verify/Splitters/Settings_Typed.cs b/src/Verify/Splitters/Settings_Typed.cs index f1624f5444..aacab45519 100644 --- a/src/Verify/Splitters/Settings_Typed.cs +++ b/src/Verify/Splitters/Settings_Typed.cs @@ -8,9 +8,10 @@ internal static bool TryGetTypedConverter( T target, VerifySettings settings, [NotNullWhen(true)] out TypeConverter? converter) + where T : notnull { foreach (var typedConverter in typedConverters - .Where(_ => _.CanConvert(target!, settings.Context))) + .Where(_ => _.CanConvert(target, settings.Context))) { converter = typedConverter; return true; diff --git a/src/Verify/Splitters/TypeConverter.cs b/src/Verify/Splitters/TypeConverter.cs index 4afdfa1390..0daf9f6f50 100644 --- a/src/Verify/Splitters/TypeConverter.cs +++ b/src/Verify/Splitters/TypeConverter.cs @@ -1,13 +1,7 @@ -class TypeConverter +class TypeConverter( + AsyncConversion conversion, + CanConvert canConvert) { - public AsyncConversion Conversion { get; } - public CanConvert CanConvert { get; } - - public TypeConverter( - AsyncConversion conversion, - CanConvert canConvert) - { - Conversion = conversion; - CanConvert = canConvert; - } + public AsyncConversion Conversion { get; } = conversion; + public CanConvert CanConvert { get; } = canConvert; } \ No newline at end of file diff --git a/src/Verify/buildTransitive/Verify.props b/src/Verify/buildTransitive/Verify.props index 9dd5d837ad..67ced62f45 100644 --- a/src/Verify/buildTransitive/Verify.props +++ b/src/Verify/buildTransitive/Verify.props @@ -3,37 +3,37 @@ false false - Verify.Attributes$(MSBuildProjectExtension.Replace('proj', '')) + Verify.Attributes$(MSBuildProjectExtension.Replace('proj', '')) $(NoWarn);CA2255 + Outputs="$(IntermediateOutputPath)$(VerifyAttributesFile)"> - $(IntermediateOutputPath)$(AttributesFile) + $(IntermediateOutputPath)$(VerifyAttributesFile) - + <_Parameter1>Verify.TargetFrameworks <_Parameter2>$(TargetFrameworks) - - + + <_Parameter1>Verify.ProjectDirectory <_Parameter2>$(ProjectDir) - - + <_Parameter1>Verify.SolutionDirectory <_Parameter2>$(SolutionDir) - + - + - + OutputFile="$(VerifyAttributesFilePath)"> diff --git a/usages/FixieNugetUsage/FixieNugetUsage.csproj b/usages/FixieNugetUsage/FixieNugetUsage.csproj index 5150bb4d7a..8fd6753ec8 100644 --- a/usages/FixieNugetUsage/FixieNugetUsage.csproj +++ b/usages/FixieNugetUsage/FixieNugetUsage.csproj @@ -6,7 +6,7 @@ - + \ No newline at end of file diff --git a/usages/MSTestNugetUsage/MSTestNugetUsage.csproj b/usages/MSTestNugetUsage/MSTestNugetUsage.csproj index 53aac8261e..2d6845903e 100644 --- a/usages/MSTestNugetUsage/MSTestNugetUsage.csproj +++ b/usages/MSTestNugetUsage/MSTestNugetUsage.csproj @@ -6,7 +6,7 @@ - + \ No newline at end of file diff --git a/usages/NUnitNugetUsage/NUnitNugetUsage.csproj b/usages/NUnitNugetUsage/NUnitNugetUsage.csproj index 1e5f5808de..a579f824c7 100644 --- a/usages/NUnitNugetUsage/NUnitNugetUsage.csproj +++ b/usages/NUnitNugetUsage/NUnitNugetUsage.csproj @@ -7,7 +7,7 @@ - + \ No newline at end of file diff --git a/usages/XunitNugetUsage/XunitNugetUsage.csproj b/usages/XunitNugetUsage/XunitNugetUsage.csproj index ea9ec3a7d0..f9180a667c 100644 --- a/usages/XunitNugetUsage/XunitNugetUsage.csproj +++ b/usages/XunitNugetUsage/XunitNugetUsage.csproj @@ -6,7 +6,7 @@ - +