★ wanayoo — archive 1999 https://github.com/utPLSQL/utPLSQL/pull/710Nouvelle recherche | Portail wanayoo
Skip to content
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

Added Support to pass comma delimited list of test names #710

Merged
merged 6 commits into from Jul 18, 2018

Conversation

@lwasylow
Copy link
Member

@lwasylow lwasylow commented Jul 12, 2018

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

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;

This comment has been minimized.

@jgebal

jgebal Jul 14, 2018
Member

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'));

This comment has been minimized.

@jgebal

jgebal Jul 14, 2018
Member

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;

This comment has been minimized.

@jgebal

jgebal Jul 14, 2018
Member

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 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

@lwasylow lwasylow commented Jul 17, 2018

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

@jgebal
jgebal approved these changes Jul 17, 2018
Copy link
Member

@jgebal jgebal left a comment

Awesome!

@jgebal jgebal merged commit 9e64140 into develop Jul 18, 2018
3 of 4 checks passed
3 of 4 checks passed
SonarCloud 1 Open Issue
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.4%) to 92.15%
Details
@jgebal jgebal deleted the feature/coma_list branch Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.