You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, testing of functionality that involves errors is not feasible. This is due to the error function which aborts the program.
As such, instead of invoking error when needed, the following can be done:
Keep track of the error message in a global data structure.
Subsequently check the error messages stored in the data structure as part of the tests in order to verify the expected behaviour of the program.
The text was updated successfully, but these errors were encountered:
Currently, testing of functionality that involves errors is not feasible. This is due to the
error
function which aborts the program.As such, instead of invoking
error
when needed, the following can be done:Keep track of the error message in a global data structure.
Subsequently check the error messages stored in the data structure as part of the tests in order to verify the expected behaviour of the program.
The text was updated successfully, but these errors were encountered: