Replies: 2 comments 1 reply
-
|
I will add For now, you can test in one of the target languages, e.g. call Fusion code from C# and catch the exception in C# (either directly or with one of the unit test frameworks). |
Beta Was this translation helpful? Give feedback.
-
|
Regarding exception handling in C, what is your opinion on transpiling exceptions to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm thinking of writing test classes in Fusion to test my code. But how could we test that a function that throws exceptions throws one when it is expected to throw? The first way that comes to mind is being able to catch a thrown exception.
Beta Was this translation helpful? Give feedback.
All reactions