★ wanayoo — archive 1999 https://github.com/utPLSQL/utPLSQL/pull/939Nouvelle 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

Removed dependency on `dbms_utility.name_resolve`. #939

Merged
merged 3 commits into from Jun 16, 2019

Conversation

@jgebal
Copy link
Member

@jgebal jgebal commented Jun 15, 2019

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

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 this to the v3.1.7 milestone Jun 15, 2019
@jgebal jgebal requested review from lwasylow, pesse and PhilippSalvisberg Jun 15, 2019
source/core/ut_metadata.pkb Outdated Show resolved Hide resolved
@jgebal jgebal merged commit f8e42da into develop Jun 16, 2019
4 checks passed
4 checks passed
SonarCloud Code Analysis Quality Gate passed
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 First build on feature/remove_dbms_utility_name_resolve at 95.148%
Details
@jgebal jgebal deleted the feature/remove_dbms_utility_name_resolve branch Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.