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
Fixed issue with utPLSQL failing to run when schema contains package named the same as schema owning it.
It is now possible to have utPLSQL test package like this:
```
create or replace package some_schema.some_schema as
--%suite
--%test
procedure sample_test;
end;
/
create or replace package body some_schema.some_schema as
procedure sample_test is begin ut.expect(1).to_equal(1); end;
end;
/
```
The tests from the package can be invoked by calling:
`exec ut.run('some_schema.some_schema');`
If only schema is provided, all test packages in schema are executed.
`exec ut.run('some_schema');`
Resolves#569Resolves#885
Copy file name to clipboardExpand all lines: source/core/types/ut_executable.tps
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ create or replace type ut_executable under ut_event_item(
30
30
*/
31
31
seq_no integer,
32
32
constructor function ut_executable( self in out nocopy ut_executable, a_owner varchar2, a_package varchar2, a_procedure_name varchar2, a_executable_type varchar2) return self as result,
33
-
member function form_name return varchar2,
33
+
member function form_name(a_skip_current_user_schema boolean := false) return varchar2,
34
34
member procedure do_execute(self in out nocopy ut_executable, a_item in out nocopy ut_suite_item),
0 commit comments