Tests pass despite GD.PrintErr(...) or GD.PushError(...) #148
-
In documentation (https://mikeschulze.github.io/gdUnit4/testing/assert-error/) it seems that assert-error is not supported in C#. Does that mean there is no way to make tests fail when you print GD.PrintErr or GD.PushErr? Is there a workaround where I can "log" something that will make the tests fail? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
Correct the c# API do not have a monitor to scan for Godot error logs. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
UpdateThe exceptions can now be tracked by using these two attributes on test level.
and
Real Example
|
Beta Was this translation helpful? Give feedback.
Update
The exceptions can now be tracked by using these two attributes on test level.
Will be available in the upcoming release 4.4.0