MikeSchulze / gdUnit4

A Godot Unit Test Framework. Support for GDScript and C# unit testing
MIT License
565 stars 30 forks source link

GD-579: `Part2`: Minimize `return_value_discarded` warnings #582

Closed MikeSchulze closed 1 week ago

MikeSchulze commented 1 week ago

Why

If the default settings for warnings are changed to a more detailed level, many warnings are displayed.

What

But we have to deactivate it in the end, because the fluent style of the asserts leads to many of these warnings. Unfortunately, setting the annotation @warning_ignore(“return_value_discarded”) at class level in the test still doesn't work.