I’m trying to get results with de code coverage feature for my unit tests.
Unfortanally the results are always 0.
When creating a report I allway get the messages:
'No code coverage/profile data exists for
Code coverage data is gathered only when requested explicitly by checking
the “Gather code coverage data” checkbox found in the Test Editor Properties
page for your test definition. You can also set this attribute at the unit
test and test case levels if you want to gather code coverage information
for a subset of all of your tests.’
The profiler tables with public synonyms are created and I granted ALL on the table to public.
I checked the ‘Gather Code Coverage data’ option in the ‘test definition’.
I checked the ‘Gather Code Coverage data’ option the Unittest definition and set the percentage to 75.
On the unittest tab Customization in the section – Initialization for this unit test, I put the statement ‘qu_result_xp.profile_this_unit_test ;’
After running the unit test the ‘Last actual code coverage (%)’ is still 0,00
What did I mis to get the % of code coverage ??