Wat-Sharp: A C# Wrapper Around Wat to Unit Test Your C# Godot Games(github.com)
github.com
Wat-Sharp: A C# Wrapper Around Wat to Unit Test Your C# Godot Games
https://github.com/CodeDarigan/WATSharp
3 comments
It wasn't the cyclic reference problem but the "dangling variant bug" that killed Godot for me. I'll have another look at it when v4 is ready, but makes me a bit nervous that such a big issue was overlooked for so long.
I never ran into this issue myself but I do know the recent 3.2.3 version should have fixed it. With that said I love godot but GDScript does need more love.
However I ran into issues when trying to use established C# Unit Testing Frameworks like x or n Unit. I don't understand the absolute specifics but the gist is that these established systems don't work well (if at all sometimes) with Godot's Managed API.
So being the dev that works far too much on their own tools instead of their game, I ended up adding a C# Wrapper around WAT (My GDScript Unit Testing Plugin).
Installing WAT-Sharp
C# API Differences
Examples
You can find examples of tests in WAT-Sharp's own test suite at https://github.com/CodeDarigan/WATSharp/tree/master/tests which should hopefully help clear up any confusion.