[
https://issues.apache.org/jira/browse/DERBY-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574571#action_12574571
]
Dyre Tjeldvoll commented on DERBY-3445:
---------------------------------------
Patch file: 3445-singletest-diff
Committed revision 633135.
Thank you for the patch Vemund. Yes, I did get it to work. I was using ant 1.7,
but I also needed to set ANT_HOME to ant 1.7. And, as you point out, I needed
to set the classpath manually. I was a bit surprised by this as I had expected
it to use classes or jars by default, and let you override as necessary.
Setting it explicitly works fine, though.
I even ran CacheSessionDataTest with emma and could confirm that all methods
(except toString()) in the class I added for DERBY-3192 (PiggyBackSessionData)
had been executed. Nice!
> Make it easier to use the EMMA tool to measure the code coverage of the Derby
> testing
> -------------------------------------------------------------------------------------
>
> Key: DERBY-3445
> URL: https://issues.apache.org/jira/browse/DERBY-3445
> Project: Derby
> Issue Type: Improvement
> Components: Build tools
> Reporter: Vemund Østgaard
> Assignee: Vemund Østgaard
> Attachments: 3445-general-diff, 3445-general-diffv2,
> 3445-singletest-diff, 3445-SysinfoLocaleTest-diff, 3445-testspecific-diff,
> 3445-testspecific-diffv2
>
>
> It is a bit tricky to use EMMA to measure code coverage for the derby testing.
> Modifications must be made to the source both to avoid problems with the
> SecurityManager and individual tests. It would be good if these modifcations
> could be done once and for all so that it was easier for anyone to run the
> tests with EMMA.
> It would also be good to have ant tasks that would make it even easier to run
> the tests with EMMA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.