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
The ut_teamcity_reporter provides a pretty unhelpful, general "Error occured" message when an exception occurs during a test run. It adds the callstack, but not the actual error.
Instead, it should provide the actual error message.
create or replace package ut_error as-- %suite(Error reporting showcase)-- %test(This throws an error)
procedure throw_error;
end;
/
create or replace package body ut_error as
procedure throw_error asbegin
raise_application_error(-20000, 'Helpful error message');
end;
end;
/
call ut.run('ut_error', ut_teamcity_reporter());
The
ut_teamcity_reporter
provides a pretty unhelpful, general "Error occured" message when an exception occurs during a test run. It adds the callstack, but not the actual error.Instead, it should provide the actual error message.
Output:
The text was updated successfully, but these errors were encountered: