Description
Hello, I just installed and migrated to tunit from xunit (v2.*). Due to the small number of tests on a relatively new project, I did the migration by hand.
I realize this may or may not be related to something TUnit can control; but maybe you have some insight. This didn't happen until I switched.
Relevant lines from the *.csproj:
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="8.9.0" />
<PackageReference Include="Microsoft.Extensions.Diagnostics.Testing" Version="10.5.0" />
<PackageReference Include="NSubstitute" Version="5.3.0" />
<PackageReference Include="TestableIO.System.IO.Abstractions" Version="22.1.1" />
<PackageReference Include="TestableIO.System.IO.Abstractions.TestingHelpers" Version="22.1.1" />
<PackageReference Include="TUnit" Version="1.40.10" />
</ItemGroup>
Expected Behavior
I expect to see test results show in the test explorer window as soon as they're available.
Actual Behavior
The tests kept spinning for a total of ~40 seconds even though complete.
Steps to Reproduce
I don't think this is specific to my code.
I was able to find related issues:
https://developercommunity.microsoft.com/t/Test-Explorer-in-Visual-Studio-171410/10945859
and
xunit/xunit#3342 (reply in thread)
TUnit Version
1.40.10
.NET Version
.NET 10
Operating System
Windows
IDE / Test Runner
dotnet CLI (dotnet test / dotnet run)
Error Output / Stack Trace
Additional Context
No response
IDE-Specific Issue?
Description
Hello, I just installed and migrated to tunit from xunit (v2.*). Due to the small number of tests on a relatively new project, I did the migration by hand.
I realize this may or may not be related to something TUnit can control; but maybe you have some insight. This didn't happen until I switched.
Relevant lines from the *.csproj:
Expected Behavior
I expect to see test results show in the test explorer window as soon as they're available.
Actual Behavior
The tests kept spinning for a total of ~40 seconds even though complete.
Steps to Reproduce
I don't think this is specific to my code.
I was able to find related issues:
https://developercommunity.microsoft.com/t/Test-Explorer-in-Visual-Studio-171410/10945859
and
xunit/xunit#3342 (reply in thread)
TUnit Version
1.40.10
.NET Version
.NET 10
Operating System
Windows
IDE / Test Runner
dotnet CLI (dotnet test / dotnet run)
Error Output / Stack Trace
Additional Context
No response
IDE-Specific Issue?
dotnet testordotnet run, not just in my IDE