-
Notifications
You must be signed in to change notification settings - Fork 0
feat: migrate Domain.Tests to xUnit v3 (#163) #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -16,10 +16,14 @@ | |||||
| <PackageReference Include="MediatR"/> | ||||||
| <PackageReference Include="Microsoft.NET.Test.Sdk" /> | ||||||
| <PackageReference Include="NSubstitute"/> | ||||||
| <PackageReference Include="xunit"/> | ||||||
| <PackageReference Include="xunit.v3"/> | ||||||
| <PackageReference Include="xunit.runner.visualstudio"/> | ||||||
| </ItemGroup> | ||||||
|
|
||||||
| <ItemGroup> | ||||||
| <Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest"/> | ||||||
|
||||||
| <Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest"/> | |
| <None Update="xunit.runner.json" CopyToOutputDirectory="PreserveNewest"/> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", | ||
| "methodDisplay": "method", | ||
| "methodDisplayOptions": "all", | ||
| "parallelizeAssembly": true, | ||
| "parallelizeTestCollections": true, | ||
| "diagnosticMessages": false | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The migration to xUnit v3 in this project is missing the
<OutputType>Exe</OutputType>change required by issue #163 (and recommended by the xUnit v3 migration guide for the new test host). AddOutputType=Exein the main<PropertyGroup>for this project so the PR meets the acceptance criteria and avoids runner/adapter surprises.