-
Notifications
You must be signed in to change notification settings - Fork 15
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
No Code Coverage Report after Updating to utPLSQL 3.1.10 #182
Comments
Hello Samuel ! Kind regards, Derik Wehrmann |
I am as active as possible with a lot of other things on my plate and in the midst of a pandemic :) |
Hello Samuel, EXEC UT3PLSQL.UT.RUN( 'UNITTEST', ut_coverage_html_reporter(), a_coverage_schemes => ut_varchar2_list('ISUSER') ); That works. "utplsql run UNITTEST/P6YkF-k4il83_0s@WGTEST2 -p=UNITTEST -f=ut_coverage_html_reporter -o=C:\Bamboo_Output\WERTGARANTIE\CODE_COVERAGE_2.html -include=ISUSER" no reporting is created. But that worked before the 3.1.10 ! So maybe there is only a little counter to be set or something. Nice weekend, DrErique |
No need to apologize, I just wanted to explain why I'm rather quiet on the project. I think you are missing the
The |
Hello Samuel,
I knew the difference between the two parameters but unfortunately there has been a terrible mistake happened by copying or whatever.
So when you take
utplsql run UNITTEST/P6YkF-k4il83_0s@WGTEST2 \
-p=UNITTEST \
-f=ut_coverage_html_reporter -o=C:\Bamboo_Output\WERTGARANTIE\CODE_COVERAGE_2.html \
…--coverage-schemes=ISUSER
( without the -include) it works !
My fault, thank you for look over that. Issue can be closed.
Von: Samuel Nitsche <[email protected]>
Gesendet: Freitag, 26. Juni 2020 12:03
An: utPLSQL/utPLSQL-cli <[email protected]>
Cc: Wehrmann, Derik <[email protected]>; Author <[email protected]>
Betreff: Re: [utPLSQL/utPLSQL-cli] No Code Coverage Report after Updating to utPLSQL 3.1.10 (#182)
No need to apologize, I just wanted to explain why I'm rather quiet on the project.
I think you are missing the --coverage-schemes parameter in your cli call. Can you try this?
utplsql run UNITTEST/P6YkF-k4il83_0s@WGTEST2 \
-p=UNITTEST \
-f=ut_coverage_html_reporter -o=C:\Bamboo_Output\WERTGARANTIE\CODE_COVERAGE_2.html \
-include=ISUSER \
--coverage-schemes=ISUSER
The include-parameter has a different meaning and its equivalent for ut.run is a_include_objects
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#182 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIPTY46DUIXPYUUG3HAWDPDRYRW55ANCNFSM4MDEP3TA>.
|
Happy to help - we've all been there 😉 |
Hello ! Greetings from Hannover, Germany
We recently updated our utPLSQL Framework to the latest 3.1.10 Version.
Unfortunately Code Coverage Reporting doesn't work anymore after this.
As you might remember we had the #174 Issue where you added the -include Parameter and gave me the https://bintray.com/utplsql/utPLSQL-cli/download_file?file_path=utPLSQL-cli-develop-202003131529.zip Version to try out.
So that worked fine at that time with the 3.1.3 Version and isn't working anymore after update to 3.1.10. There is a file created but has no content.
So we have utplsql-cli Version 3.1.9 and utplsql Version 3.1.10
I tried two different commands :
"utplsql run UNITTEST/Password@WGTEST2 -p=UNITTEST -f=UT_DOCUMENTATION_REPORTER -o=C:\Bamboo_Output\WERTGARANTIE\UNIT_TEST.txt -f=ut_coverage_html_reporter -o=C:\Bamboo_Output\WERTGARANTIE\CODE_COVERAGE.html -include=ISUSER"
and
"utplsql run UNITTEST/P6YkF-k4il83_0s@WGTEST2 -p=UNITTEST -f=ut_coverage_html_reporter -o=C:\Bamboo_Output\WERTGARANTIE\CODE_COVERAGE_2.html -include=ISUSER"
Unit Testing is running and there is an empty Code Coverage Report.
Can you readjust this Problem ?
The text was updated successfully, but these errors were encountered: