Re:Wat-Sharp: A C# Wrapper Around Wat to Unit Test Your C# G...
by jay_kyburz on Monday May 25, 2020 @11:32PM
(#23307154)
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.
Re:Wat-Sharp: A C# Wrapper Around Wat to Unit Test Your C# G...
by AlexAndThunder on Tuesday May 26, 2020 @11:37AM
(#23312464)
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 ExamplesYou 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.