The following comment has been added to this issue:

     Author: Nicolas Radde
    Created: Fri, 5 Dec 2003 1:13 PM
       Body:
The junit plugin have a property "maven.junit.dir" 
(http://maven.apache.org/reference/plugins/test/properties.html). This property is 
useful when your junit tests need some files to work and you don't want to put this 
files with your junit test code. In my case, I use this property to launch the jvm for 
the junit tests into a specific directory.
The probleme is the clover plugin don't use this junit plugin property when it launch 
the tests for the coverage.
I think it can be useful for the cover plugin to use the junit plugin properties, and 
of course use his own set of property also 
(http://maven.apache.org/reference/plugins/clover/properties.html).
I think it can be strange if you don't have the same result on your junit tests, when 
you launch them with the junit plugin or the clover plugin.
Of course it's not a big issue, there is tons of workaround for this problemes. But i 
guess that can be easier to use the clover plugin if you don't need to do some 
modifications on the way your junit tests work, for the clover plugin.
Sincerely
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCLOVER-3


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCLOVER-3
    Summary: test directory
       Type: Improvement

     Status: Unassigned
   Priority: Major

 Original Estimate: 1 day
 Time Spent: Unknown
  Remaining: 1 day

    Project: maven-clover-plugin
   Fix Fors:
             1.5
   Versions:
             1.2

   Assignee: 
   Reporter: Nicolas Radde

    Created: Mon, 31 Mar 2003 3:31 PM
    Updated: Fri, 5 Dec 2003 1:13 PM
Environment: plateform generic

Description:
Hi guys,
I guess it can be useful for the clover-plugin to use the property ${maven.junit.dir}. 
For example if your test need file to work, your test can work with the maven junit 
integration but failed with cover because you can't specify a base directory for 
clover to run.
May be this property exist but just need to be in the documentation of the plugin.

Nicolas Radde
Guest Researcher
email : [EMAIL PROTECTED]


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to