-
Notifications
You must be signed in to change notification settings - Fork 185
Added Support to pass comma delimited list of test names #710
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation needs to be updated as well to describe the new functionality.
test/api/test_ut_run.pks
Outdated
@@ -22,6 +22,29 @@ create or replace package test_ut_run is | |||
procedure run_and_revalidate_specs; | |||
procedure generate_invalid_spec; | |||
procedure drop_test_package; | |||
|
|||
procedure create_test_csl_packages; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make it a context and use beforeall / afterall inside context?
That way the package will get created/dropped only once.
test/api/test_ut_run.pkb
Outdated
begin | ||
select * | ||
bulk collect into l_results | ||
from table(ut3.ut.run('test_csl_names1,test_csl_names2')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add spaces / tabs instde the text to validate that it still works?
test/api/test_ut_run.pkb
Outdated
@@ -202,6 +202,130 @@ end;]'; | |||
begin | |||
execute immediate 'drop package invalid_pckag_that_revalidates'; | |||
execute immediate 'drop package parent_specs'; | |||
end; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you cover all 3 changed entry points (procedures) with tests so we have regression for each of them?
We should move the logic chane to ut_runner and convert each element of |
I have updated tests, moved decomposing of coma separated list into ut_runner and updated docs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Add option of using a coma separated string of test names.
Fixes #479