Skip to content

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

Merged
merged 6 commits into from
Jul 18, 2018

Conversation

lwasylow
Copy link
Member

Add option of using a coma separated string of test names.
Fixes #479

@lwasylow lwasylow changed the title Initial checkin Added Support to pass comma delimited list of test names Jul 12, 2018
Copy link
Member

@jgebal jgebal left a 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.

@@ -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;
Copy link
Member

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.

begin
select *
bulk collect into l_results
from table(ut3.ut.run('test_csl_names1,test_csl_names2'));
Copy link
Member

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?

@@ -202,6 +202,130 @@ end;]';
begin
execute immediate 'drop package invalid_pckag_that_revalidates';
execute immediate 'drop package parent_specs';
end;

Copy link
Member

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?

@jgebal jgebal added this to the 3.1.2 milestone Jul 15, 2018
@jgebal
Copy link
Member

jgebal commented Jul 17, 2018

We should move the logic chane to ut_runner and convert each element of ut_varchar2_list that contains a comma separated list of paths.

@lwasylow
Copy link
Member Author

I have updated tests, moved decomposing of coma separated list into ut_runner and updated docs.

Copy link
Member

@jgebal jgebal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@jgebal jgebal merged commit 9e64140 into develop Jul 18, 2018
@jgebal jgebal deleted the feature/coma_list branch July 18, 2018 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants