utPLSQL/utPLSQL-cli

Code Coverage : Unit Test and Coverage Schema different

DrErique opened this issue · 4 comments

Hello and greetings from Hannover, Germany.
I have a question that affects the circumstance that our unit tests exists in a different schema than the tested code. The utPLSQL Framework invented the "a_coverage_schemes" - Parameter for that case.
For example
exec ut.run('UNITTEST', ut_coverage_html_reporter(), a_coverage_schemes=>ut_varchar2_list('ISUSER'));
Is there a way to do the same call with utplsql-cli ?

pesse commented

Hey @DrErique ,
thanks for your patience and for pointing this out.
You are right - for some reason there is no cli parameter to pass a_coverage_schemes to the test-runner, although Java-API would allow it.
I'll add this, shouldn't be a big problem.