GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Removed dependency on `dbms_utility.name_resolve`. by jgebal · Pull Request #939 · utPLSQL/utPLSQL

Conversation

@jgebal

@jgebal jgebal commented Jun 15, 2019

Copy link
Copy Markdown
Member

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 #569
Resolves #885

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jgebal
Removed dependency on dbms_utility.name_resolve.
85942e9
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 #569
Resolves #885
@jgebal jgebal added enhancement bugfix labels Jun 15, 2019
@jgebal jgebal added this to the v3.1.7 milestone Jun 15, 2019
@jgebal
jgebal requested review from PhilippSalvisberg, lwasylow and pesse June 15, 2019 23:10
lwasylow
lwasylow approved these changes Jun 16, 2019
View reviewed changes
Comment thread source/core/ut_metadata.pkb Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jgebal
Adressed review comment.
4014b1f
lwasylow
lwasylow approved these changes Jun 16, 2019
View reviewed changes
@jgebal
Merge branch 'develop' into feature/remove_dbms_utility_name_resolve
823893c
@jgebal
jgebal merged commit f8e42da into develop Jun 16, 2019
@jgebal
jgebal deleted the feature/remove_dbms_utility_name_resolve branch June 17, 2019 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lwasylow lwasylow lwasylow approved these changes
@pesse pesse Awaiting requested review from pesse
@PhilippSalvisberg PhilippSalvisberg Awaiting requested review from PhilippSalvisberg

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

bugfix enhancement

Projects

None yet

Milestone

v3.1.7

Development

Successfully merging this pull request may close these issues.

"Call params for test are not valid" for all tests in specific schema get rid of calls to dbms_utility.name_resolve if possible

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@jgebal @lwasylow
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.