Closed
Description
There are following issues:
Include objects not populated when selecting Other user
When opening a Code coverage report window by navigating: Connection->Other Users->Some User->Packages->UT_package->Right click (Code coverage), the field Include objects
is not getting populated.
Expected behavior
Include objects
gets populated the same way as it is when navigating: Connection->Packages->UT_package->Right click (Code coverage)
The objects on Include objects list re not prefixed with owner
When tests are located in different schema then the tested code, the populated Include objects
list does not give expected results - no coverage is showing.
The objects need to be prefixed with schema name.
Below animation illustrates both issues as well as the correct outcomes
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
PhilippSalvisberg commentedon Jul 5, 2019
Thanks for reporting this issue.
Populating default values for
include objects
is currently supported only for tests suites owned by the connected user. It's a good idea to support that as well for users listed below theOther Users
node.In your case you can connect to
ut3_tester
and run code coverage from there, enteringUT3
for schema under test. As you shown, it does not work. The reason is, thatut3_tester
lacks the necessary privileges to produce a code coverage result for theUT3
schema. As soon as you grant the necessary privileges (e.g. theDBA
role or something more sensible) this works. I agree that we should simplify the usage of code coverage and prefix all include objects by its owner. ThenSchemas unter test
could be left empty.Merge pull request #72 from PhilippSalvisberg/feature/63_coverage