Closed JustASquid closed 4 days ago
Hi, can you please add the missing information.
Hi @JustASquid can you please provide the requested information?
Sorry @MikeSchulze
System: Windows 10 Package versions:
<PackageReference Include="gdUnit4.api" Version="4.4.*" />
<PackageReference Include="gdUnit4.test.adapter" Version="2.*" />
Where can I find the test execution log? I don't see how that's useful anyway if the problem is "Rider doesn't pick up the tests"
Where can I find the test execution log? I don't see how that's useful anyway if the problem is "Rider doesn't pick up the tests"
Check your project is configured correctly, do not use release candidates, there is no guaranty of all works.
Here the actual suggested project configuration:
<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<LangVersion>11.0</LangVersion>
<!--Force nullable warnings, you can disable if you want-->
<Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<!--Disable warning of invalid/incompatible GodotSharp version-->
<NoWarn>NU1605</NoWarn>
</PropertyGroup>
<ItemGroup>
<!--Required for GdUnit4-->
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="gdUnit4.api" Version="4.3.*" />
<PackageReference Include="gdUnit4.test.adapter" Version="2.*" />
</ItemGroup>
Have you setup the .runsettings
?
https://mikeschulze.github.io/gdUnit4/csharp_project_setup/vstest-adapter/#preconditions
Hi @JustASquid any update?
Closed, I am not able to reproduce it and the reporter no longer responds
The used GdUnit4 version
4.4.1 (Pre Release/Master branch)
The used Godot version
v4.3
Operating System
Windows
Describe the bug
I've followed all the steps in the documentation to setup integration with Rider. Using Rider 2024.2.7.
On rider start, I see that it has picked up the unit tests:
Running the test in Rider works as expected - the project application is launched, the test runs and then the project application closes.
However, debugging the test doesn't work. The test doesn't succeed or fail, instead nothing happens. Afterwards, Rider loses track of the test altogether:
Running
dotnet test
directly works fine and runs all the tests.Could I be missing something?
Steps to Reproduce
Example:
If the issue involves code, please include relevant snippets below:
Minimal reproduction project
No response