You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When I right click on a specific package/procedure/function and try to run code coverage, it does not do anything.
Code coverage is only working when I select the whole DB.
Is this behaviour intentional?
I tried with SQLDeveloper v19.4.0 extension v1.1.0 and 1.1.1.
Thanks,
Imre
There is no dialog, and no result.
After I click Code coverage... the context menu just disappears. Run utPLSQL test is working for the same package.
Maybe the issue is that we have a very old utPLSQL install on the DB. It is v3.1.9.3270.
I am using Oracle Database 18c.
Thanks for the details. utPLSQL v3.1.9 is good enough. That should not be the problem.
And it's working when you run it from the connection or package node, right?
Nevermind, this must be some sort of setup issue on my side. The result and runtime should be the same when I run it from the connection and provide the package name in the include objects section. I'll just keep running it that way.
Activity
PhilippSalvisberg commentedon Apr 27, 2020
Hi @horimre,
I've installed plscope-utils and then right-clicked on
plscope.test_lineage_util
and got this dialog:and then pressed
Run
and after a moment the following result was shown in my browser:So, it should work to run code coverage for single test package only. And it should work for multiple test packages as well.
I've used Oracle Database 19.7. But it should work also in 12.2.
What do you mean with
No dialog? No result? both? Does
Run utPLSQL test
work for the same test package?Thanks,
Philipp
horimre commentedon Apr 27, 2020
Hi,
There is no dialog, and no result.
After I click
Code coverage...
the context menu just disappears.Run utPLSQL test
is working for the same package.Maybe the issue is that we have a very old utPLSQL install on the DB. It is v3.1.9.3270.
I am using Oracle Database 18c.
Thanks,
Imre
PhilippSalvisberg commentedon Apr 27, 2020
Thanks for the details. utPLSQL v3.1.9 is good enough. That should not be the problem.
And it's working when you run it from the connection or package node, right?
horimre commentedon Apr 27, 2020
Right, it is working when I run it from the connection. The dialog shows up I can run it and see the report.
PhilippSalvisberg commentedon Apr 27, 2020
Could you please run the following query?
Please amend the lines commented with
--2)
and--3)
and run it withall_dependencies
in case it fails withdba_dependencies
.Please let me know your database version as well and if you are running it in a PDB.
Thank you.
horimre commentedon Apr 27, 2020
DEP_NAME
UTPLSQL.UT_EXPECTATION
USER1.TEST_PKG
USER1.TEST_PKG_UT
Oracle Database 18c (18.0.0.0.0), running it in a PDB.
PhilippSalvisberg commentedon Apr 27, 2020
Thanks. And, does the query work?
horimre commentedon Apr 27, 2020
yes, that is the result of the query:
DEP_NAME
UTPLSQL.UT_EXPECTATION
USER1.TEST_PKG
USER1.TEST_PKG_UT
horimre commentedon Apr 27, 2020
Nevermind, this must be some sort of setup issue on my side. The result and runtime should be the same when I run it from the connection and provide the package name in the include objects section. I'll just keep running it that way.
PhilippSalvisberg commentedon Apr 27, 2020
Yes, that's a workaround.
However, I consider it a bug, when the code coverage dialog does not show up when called from a test package node. To fix it, we have to reproduce it.
Could you please open
View -> Log
and check if there is a utPLSQL related error message in theLogging Page
tab?horimre commentedon Apr 28, 2020
There is no error message in the log. It is empty.
Code coverage is also working when I run it from the Packages node.
Btw, I am using jdk1.8.0_241.
20 remaining items