MikeSchulze / gdUnit4Net

A Godot C# Unit Test Framework.
MIT License
61 stars 5 forks source link

GD-124: Auto debugger attach for JetBrains Raider to debug tests #125

Closed MikeSchulze closed 5 months ago

MikeSchulze commented 5 months ago

Why

see https://github.com/MikeSchulze/gdUnit4Net/issues/124

What

MikeSchulze commented 5 months ago

@van800 I try to auto attach the Rider debugger but without success. If you have any insights, you are welcome to join this task

What i see is a difference in the Raider TestHost implementations https://github.com/JetBrains/godot-support/blob/4a83b62eb11601e4cf5f3f5f339929a9989095dd/resharper/src/UnitTesting/GodotTestRunnerHost.cs vs https://github.com/JetBrains/godot-support/blob/4a83b62eb11601e4cf5f3f5f339929a9989095dd/resharper/src/UnitTesting/GodotGdUnitTestRunnerHost.cs

the GodotTestRunnerHost does some extra stuff for debugging where is missing in the GodotGdUnitTestRunnerHost

Any ideas how to solve this issues are welcome.

van800 commented 5 months ago

That is an interesting idea. I will look into it. A similar feature to wait for debugger exists in Unity by the name "Wait for Managed Debugger".

GodotTestRunnerHost works for Godot 3 (mono).