31 / GodotOnReady

A C# Source Generator that adds convenient onready-like features to your C# scripts in Godot Mono (3.x) without any reflection.
https://www.nuget.org/packages/GodotOnReady
MIT License
123 stars 13 forks source link

Add unit tests #24

Open 31 opened 3 years ago

31 commented 3 years ago

On 2021/01/14, the cookbook got some instructions on how to unit test: https://github.com/dotnet/roslyn/blob/main/docs/features/source-generators.cookbook.md#unit-testing-of-generators https://github.com/dotnet/roslyn/issues/44075

That would definitely be better than what I do now. (Open a project and build, then navigate to generated source to see if it looks right.)