-
Notifications
You must be signed in to change notification settings - Fork 185
Two ut packages with similar names cause issue #468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting it @durrani |
Hi @durrani ! |
@Pazus I've added #470, as the reported side-effect could actually be an interesting feature: |
@Pazus , @durrani, I also cannot reproduce the behavior using our develop branch. create or replace package ut_test as
--%suite
--%test
procedure aa;
end;
/
create or replace package ut_test_suffix as
--%suite
--%test
procedure aa;
end;
/ exec ut.run('ut_test');
Only the There was however an issue when calling by suitepath - fixed by @Pazus |
Sorry for late reply. Yes, I was also using suitepath. Thank you both. |
@durrani you can now use v3.0.3 - fixed |
I have two packages say: ut_name and ut_name_suffix
Issue 1:
exec ut.run('ut_name');
Actual:
This runs both packages.
Expected:
Run only ut_name
Issue 2:
Calling individual procedure within ut_name gives error
exec ut.run('ut_name.my_proc');
Actual:
ORA-06512: AT "UTPLSQL.UT_SUITE_MANAGER", line 442
ORA-06512: AT "UTPLSQL.UT_SUITE_MANAGER", line 432
ORA-06512: AT "UTPLSQL.UT_SUITE_MANAGER", line 432
ORA-06512: AT "UTPLSQL.UT_SUITE_MANAGER", line 545
ORA-06512: AT "UTPLSQL.UT_RUNNER", line 76
ORA-20203: Suite not found
Expected:
Runs the procedure my_proc under ut_name
The text was updated successfully, but these errors were encountered: