db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vemund Østgaard (JIRA) <j...@apache.org>
Subject [jira] Commented: (DERBY-3445) Make it easier to use the EMMA tool to measure the code coverage of the Derby testing
Date Tue, 26 Feb 2008 10:57:51 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572416#action_12572416
] 

Vemund Østgaard commented on DERBY-3445:
----------------------------------------

About DERBY-3153:

- The additions of junit.jar to the classpath of the <junit> tasks were also to make
it easier to run with ant 1.7. This didn't work with 1.6.5, but with 1.7 it means you don't
have to add junit.jar to your classpath when running ant or put it in ants lib/ directory:

+ <!-- ant 1.7 finds junit.jar if it is on the classpath of the <junit> task -->
+ <pathelement location="${junit}"/>

- There were a few changes in 3445-testspecific-diff that were specifically for running with
ant 1.7 as well, so running with only the changes in the patch that was added to DERBY-3153
you will probably see a few errors in those tests.

> 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-testspecific-diff
>
>
> 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.


Mime
View raw message