Skip to content

Commit ae08089

Browse files
CopilotCopilot
andcommitted
fix: configure xunit to disable test parallelization
Configure xunit.runner.json to disable both assembly and test collection parallelization to prevent intermittent test failures in Release mode. Also update Graphify.Tests.csproj to include xunit.runner.json in output. Tests now run sequentially without interfering with each other's shared state (particularly the appsettings.local.json file used by config tests). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 41c0cba commit ae08089

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/tests/Graphify.Tests/Graphify.Tests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@
1919
<ProjectReference Include="..\..\Graphify.Cli\Graphify.Cli.csproj" />
2020
</ItemGroup>
2121

22+
<ItemGroup>
23+
<None Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
24+
</ItemGroup>
25+
2226
</Project>

0 commit comments

Comments
 (0)