RE: [test coverage] jcoverage and cactus tests

2004-07-16 Thread Matt Read
You might need to ensure that the instrumented Cactus tests are the same
ones that are being used in the Cactified .war file. E.g.

maven.clover.build.classes = ${maven.build.dir}/classes


> -Original Message-
> From: Raphaël Piéroni [mailto:[EMAIL PROTECTED] 
> Sent: 16 July 2004 10:41
> To: Maven Users List
> Subject: RE: [test coverage] jcoverage and cactus tests
> 
> even when i modify the clover:report goal like this :
> 
>   
> 
> 
>   
> 
>  ...
> 
> and when i try with maven -b clean java:compile clover:on 
> cactus clover:report 
> 
> i do only have the junit coverage but no cactus coverage.
> 
> Raphaël Piéroni
> 
> --- Raphaël Piéroni <[EMAIL PROTECTED]> a écrit : > i 
> have retried with :
> > maven -b clean java:compile clover:on cactus followed by maven -b 
> > clover:on clover:html-report-internal
> > 
> > and i have tried with :
> > maven -b clean java:compile clover:on cactus 
> > clover:html-report-internal
> > 
> 
> 
>   
> 
>   
>   
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> 
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger 
> !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



RE: [test coverage] jcoverage and cactus tests

2004-07-16 Thread Matt Read
I had a similar problem that I could only solve by manually modifying the
clover plugin. In my case I was trying to instrument code that was compiled
into a .war and deployed to an appserver. I raised a JIRA item to cover it
here but no movement yet: http://jira.codehaus.org/browse/MPCLOVER-18

Matt.


> -Original Message-
> From: Vincent Massol [mailto:[EMAIL PROTECTED] 
> Sent: 16 July 2004 10:03
> To: 'Maven Users List'
> Subject: RE: [test coverage] jcoverage and cactus tests
> 
> 
> 
> > -Original Message-
> > From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> > Sent: vendredi 16 juillet 2004 10:38
> > To: Maven Users List
> > Subject: RE: [test coverage] jcoverage and cactus tests
> > 
> > i have looked a bit more at the output.
> > 
> > when i use "maven clover:on cactus", it pass the tests
> > 
> > but when i use "maven clover:report" just after, clover says it 
> > override its database, then execute the unit tests only and 
> i do not 
> > have the cactus tests covered.
> 
> Hmmm. I would need to try it. You can try calling "maven 
> clover:html-report-internal" instead of "maven clover:report" 
> so that the tests are not run. Beware though that 
> clover:html-report-internal is a non-public goal so it can 
> disappear anytime in the future. Thus we'll need to modify 
> the clover plugin to support generating the reports without 
> running the tests.
> 
> -Vincent
> 
> > 
> > R
> > 
> > 
> > --- Raphaël Piéroni <[EMAIL PROTECTED]> a écrit : > Thanks 
> > Vincent,
> > > but clover only has instrumented the junit tests and let 
> the cactus 
> > > tests un intrumented
> > >
> > > Raphaël
> > >
> > > --- Vincent Massol <[EMAIL PROTECTED]> a écrit : > Hi Raphael,
> > > >
> > > > Simply type "maven clover:on cactus" and then "maven 
> clover:report"
> > > >
> > > > -Vincent
> > > >
> > > > > -Original Message-
> > > > > From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> > > > > Sent: vendredi 16 juillet 2004 07:57
> > > > > To: Maven Users List
> > > > > Subject: Re: [test coverage] jcoverage and cactus tests
> > > > >
> > > > > even with clover ?
> > > > >
> > > > > --- Brett Porter <[EMAIL PROTECTED]> a écrit : > 
> There is a
> > > > bug
> > > > > filed against the jcoverage plugin to implement this.
> > > > > > Not yet possible.
> > > > > >
> > > > > > - Brett
> > > > > >
> > > > > > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni 
> > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > Hello list,
> > > > > > >
> > > > > > > Does any one know how to have the jcoverage of the cactus
> > > tests
> > > > > > > of a webapp using maven (1.0-rc4) ?
> > > > > > >
> > > > > > > and a subsidiary question : how can i have the 
> jxr of those 
> > > > > > > cactus tests ?
> > > > > > >
> > > > > > > in advance thanks for any answer.
> > > > > > >
> > > > > > > Raphaël
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> > Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> > 
> > Dialoguez en direct avec vos amis grâce à Yahoo! Messenger 
> > !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



RE: [test coverage] jcoverage and cactus tests

2004-07-16 Thread Nicolas . CHALUMEAU
Yes of course but in that case you can't call maven site and include the 
coverage report without having a post goal for site in maven.xml to 
generate the xdoc report before. An other thing in maven.xml ;). I don't 
think that maven.xml "need" to have thing like this.
And in the report you can't have the coverage of all your test in the same 
report ?

Or I miss something.

Nicolas 





"Vincent Massol" <[EMAIL PROTECTED]>
16/07/2004 11:24
Veuillez répondre à "Maven Users List"

 
Pour :  "'Maven Users List'" <[EMAIL PROTECTED]>
cc : 
Objet : RE: [test coverage] jcoverage and cactus tests


Hi Nicolas,

> -Original Message-
> From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]
> trelaze.com]
> Sent: vendredi 16 juillet 2004 11:14
> To: Maven Users List
> Subject: RE: [test coverage] jcoverage and cactus tests
> 
> I try to make the same with jcoverage (maven jcoverage:on cactus using 
the
> pregoal in the issue MPJCOVERAGE-4),
> it instrument my cactus classes. But when I want to generate a report it
> don't do any thing. I take a look at the jcoverage:html-report, it have 
a
> prereq jcoverage:on test so the report is
> generate only for junit test.
> 
> I think it could be a good thing to be able to pass to coverages tools
> (jcoverage, clover...) a list of test to execute. It could be test type
> for example (unit test, integration ...) or test goal (cactus, test, 
...)

I think it's best to do it the other way round, i.e. to let the user call
the goal he wishes. For example: "maven clover:on
whatever-goal-I-wish-to-call".

I don't know if this is possible with jcoverage though.

There's only a little line to correct in the clover plugin to remove the
execution of the tests when running clover:report.

-Vincent

> 
> Nicolas
> 
> 
> 
> 
> 
> 
> "Vincent Massol" <[EMAIL PROTECTED]>
> 16/07/2004 11:03
> Veuillez répondre à "Maven Users List"
> 
> 
> Pour :  "'Maven Users List'" <[EMAIL PROTECTED]>
>     cc :
> Objet : RE: [test coverage] jcoverage and cactus tests
> 
> 
> 
> 
> > -Original Message-
> > From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> > Sent: vendredi 16 juillet 2004 10:38
> > To: Maven Users List
> > Subject: RE: [test coverage] jcoverage and cactus tests
> >
> > i have looked a bit more at the output.
> >
> > when i use "maven clover:on cactus", it pass the tests
> >
> > but when i use "maven clover:report" just after,
> > clover says it override its database, then execute the
> > unit tests only and i do not have the cactus tests covered.
> 
> Hmmm. I would need to try it. You can try calling "maven
> clover:html-report-internal" instead of "maven clover:report" so that 
the
> tests are not run. Beware though that clover:html-report-internal is a
> non-public goal so it can disappear anytime in the future. Thus we'll 
need
> to modify the clover plugin to support generating the reports without
> running the tests.
> 
> -Vincent
> 
> >
> > R
> >
> >
> > --- Raphaël Piéroni <[EMAIL PROTECTED]> a écrit : > Thanks
> > Vincent,
> > > but clover only has instrumented the junit tests
> > > and let the cactus tests un intrumented
> > >
> > > Raphaël
> > >
> > > --- Vincent Massol <[EMAIL PROTECTED]> a écrit : > Hi Raphael,
> > > >
> > > > Simply type "maven clover:on cactus" and then "maven 
clover:report"
> > > >
> > > > -Vincent
> > > >
> > > > > -Original Message-
> > > > > From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> > > > > Sent: vendredi 16 juillet 2004 07:57
> > > > > To: Maven Users List
> > > > > Subject: Re: [test coverage] jcoverage and cactus tests
> > > > >
> > > > > even with clover ?
> > > > >
> > > > > --- Brett Porter <[EMAIL PROTECTED]> a écrit : > There is a
> > > > bug
> > > > > filed against the jcoverage plugin to implement this.
> > > > > > Not yet possible.
> > > > > >
> > > > > > - Brett
> > > > > >
> > > > > > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > Hello list,
> > > > > > >
> > > > >

RE: [test coverage] jcoverage and cactus tests

2004-07-16 Thread Raphaël Piéroni
even when i modify the clover:report goal like this :

  


  


...

and when i try with maven -b clean java:compile clover:on cactus
clover:report 

i do only have the junit coverage but no cactus coverage.

Raphaël Piéroni

--- Raphaël Piéroni <[EMAIL PROTECTED]> a écrit : > i have
retried with :
> maven -b clean java:compile clover:on cactus
> followed by 
> maven -b clover:on clover:html-report-internal
> 
> and i have tried with :
> maven -b clean java:compile clover:on cactus
> clover:html-report-internal
> 






Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! 
Messenger sur http://fr.messenger.yahoo.com

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



RE: [test coverage] jcoverage and cactus tests

2004-07-16 Thread Raphaël Piéroni
i have retried with :
maven -b clean java:compile clover:on cactus
followed by 
maven -b clover:on clover:html-report-internal

and i have tried with :
maven -b clean java:compile clover:on cactus
clover:html-report-internal

both have the same result : only the junit tests leads 
to a corevage report.

I have attached the logs for the three but i do not 
think that would help

Thanks Vincent,

Raphaël

--- Vincent Massol <[EMAIL PROTECTED]> a écrit : > 
> 
> > -Original Message-
> > From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> > Sent: vendredi 16 juillet 2004 10:38
> > To: Maven Users List
> > Subject: RE: [test coverage] jcoverage and cactus tests
> > 
> > i have looked a bit more at the output.
> > 
> > when i use "maven clover:on cactus", it pass the tests
> > 
> > but when i use "maven clover:report" just after,
> > clover says it override its database, then execute the
> > unit tests only and i do not have the cactus tests covered.
> 
> Hmmm. I would need to try it. You can try calling "maven
> clover:html-report-internal" instead of "maven clover:report" so that
> the
> tests are not run. Beware though that clover:html-report-internal is
> a
> non-public goal so it can disappear anytime in the future. Thus we'll
> need
> to modify the clover plugin to support generating the reports without
> running the tests.
> 
> -Vincent
> 

maven -b clean java:compile clover:on cactus

build:start:

clean:clean:

clean:

java:prepare-filesystem:
[mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\classes

java:compile:
[echo] Compiling to
C:\project\CVSLOCAL\project\experimentation\project/target/classes
[javac] Compiling 73 source files to
C:\project\CVSLOCAL\project\experimentation\project\target\classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.

clover:init:
[mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\clover\classes
[mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\clover\database
[mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\docs\clover

clover:on:
[echo] Setting Clover compiler
[echo] Now using primary build.compiler :
org.apache.tools.ant.taskdefs.CloverCompilerAdapter

cactus:init:

cactus:test:
cactus:init:
Overriding previous definition of reference to cactus.classpath
Overriding previous definition of reference to cactus.scanner.classpath

cactus:init-report:
[mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-reports
[mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-reports\tomcat5x

java:prepare-filesystem:

java:compile:
[echo] Compiling to
C:\project\CVSLOCAL\project\experimentation\project/target/clover/classes
[javac] Compiling 73 source files to
C:\project\CVSLOCAL\project\experimentation\project\target\clover\classes
[javac] Clover Version 1.2.3, built on October 20 2003
[javac] loaded from: file:/C:/Documents and
Settings/pieronra/.maven/repository/clover/jars/clover-1.2.3.jar
[javac] 30 day Evaluation Version distributed via the Maven Jar
Repository.
[javac] Clover is not free. You have 30 days to evaluate it.
[javac] Please visit http://www.thecortex.net/clover to obtain a
licensed version of Clover
[javac] No coverage database
'C:\project\CVSLOCAL\project\experimentation\project\target\clover\database\clover_coverage.db'
found. Creating a fresh one.
[javac] Clover all over. Instrumented 73 files.
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.

cactus:compile:
[mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-classes
[javac] Compiling 5 source files to
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-classes
[javac] Clover Version 1.2.3, built on October 20 2003
[javac] loaded from: file:/C:/Documents and
Settings/pieronra/.maven/repository/clover/jars/clover-1.2.3.jar
[javac] 30 day Evaluation Version distributed via the Maven Jar
Repository.
[javac] Clover is not free. You have 30 days to evaluate it.
[javac] Please visit http://www.thecortex.net/clover to obtain a
licensed version of Clover
[javac] Updating database at
'C:\project\CVSLOCAL\project\experimentation\project\target\clover\database\clover_coverage.db'
[javac] Clover all over. Instrumented 0 files.
[copy] Copying 16 files to
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-classes

cactus:cactifywar:
war:init:

java:prepare-filesystem:

java:compile:
[echo] Compiling to
C:\project\CVSLOCAL\pro

RE: [test coverage] jcoverage and cactus tests

2004-07-16 Thread Vincent Massol
Hi Nicolas,

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> trelaze.com]
> Sent: vendredi 16 juillet 2004 11:14
> To: Maven Users List
> Subject: RE: [test coverage] jcoverage and cactus tests
> 
> I try to make the same with jcoverage (maven jcoverage:on cactus using the
> pregoal in the issue MPJCOVERAGE-4),
> it instrument my cactus classes. But when I want to generate a report it
> don't do any thing. I take a look at the jcoverage:html-report, it have a
> prereq jcoverage:on test so the report is
> generate only for junit test.
> 
> I think it could be a good thing to be able to pass to coverages tools
> (jcoverage, clover...) a list of test to execute. It could be test type
> for example (unit test, integration ...) or test goal (cactus, test, ...)

I think it's best to do it the other way round, i.e. to let the user call
the goal he wishes. For example: "maven clover:on
whatever-goal-I-wish-to-call".

I don't know if this is possible with jcoverage though.

There's only a little line to correct in the clover plugin to remove the
execution of the tests when running clover:report.

-Vincent

> 
> Nicolas
> 
> 
> 
> 
> 
> 
> "Vincent Massol" <[EMAIL PROTECTED]>
> 16/07/2004 11:03
> Veuillez répondre à "Maven Users List"
> 
> 
> Pour :  "'Maven Users List'" <[EMAIL PROTECTED]>
> cc :
> Objet : RE: [test coverage] jcoverage and cactus tests
> 
> 
> 
> 
> > -Original Message-
> > From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> > Sent: vendredi 16 juillet 2004 10:38
> > To: Maven Users List
> > Subject: RE: [test coverage] jcoverage and cactus tests
> >
> > i have looked a bit more at the output.
> >
> > when i use "maven clover:on cactus", it pass the tests
> >
> > but when i use "maven clover:report" just after,
> > clover says it override its database, then execute the
> > unit tests only and i do not have the cactus tests covered.
> 
> Hmmm. I would need to try it. You can try calling "maven
> clover:html-report-internal" instead of "maven clover:report" so that the
> tests are not run. Beware though that clover:html-report-internal is a
> non-public goal so it can disappear anytime in the future. Thus we'll need
> to modify the clover plugin to support generating the reports without
> running the tests.
> 
> -Vincent
> 
> >
> > R
> >
> >
> > --- Raphaël Piéroni <[EMAIL PROTECTED]> a écrit : > Thanks
> > Vincent,
> > > but clover only has instrumented the junit tests
> > > and let the cactus tests un intrumented
> > >
> > > Raphaël
> > >
> > > --- Vincent Massol <[EMAIL PROTECTED]> a écrit : > Hi Raphael,
> > > >
> > > > Simply type "maven clover:on cactus" and then "maven clover:report"
> > > >
> > > > -Vincent
> > > >
> > > > > -Original Message-
> > > > > From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> > > > > Sent: vendredi 16 juillet 2004 07:57
> > > > > To: Maven Users List
> > > > > Subject: Re: [test coverage] jcoverage and cactus tests
> > > > >
> > > > > even with clover ?
> > > > >
> > > > > --- Brett Porter <[EMAIL PROTECTED]> a écrit : > There is a
> > > > bug
> > > > > filed against the jcoverage plugin to implement this.
> > > > > > Not yet possible.
> > > > > >
> > > > > > - Brett
> > > > > >
> > > > > > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > Hello list,
> > > > > > >
> > > > > > > Does any one know how to have the jcoverage of the cactus
> > > tests
> > > > > > > of a webapp using maven (1.0-rc4) ?
> > > > > > >
> > > > > > > and a subsidiary question : how can i have the jxr of those
> > > > > > > cactus tests ?
> > > > > > >
> > > > > > > in advance thanks for any answer.
> > > > > > >
> > > > > > > Raphaël
> >
> >
> >
> >
> >
> >
> >
> > Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> > Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> >
> > Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez
> > Yahoo! Messenger sur http://fr.messenger.yahoo.com
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: [test coverage] jcoverage and cactus tests

2004-07-16 Thread Nicolas . CHALUMEAU
I try to make the same with jcoverage (maven jcoverage:on cactus using the pregoal in 
the issue MPJCOVERAGE-4), 
it instrument my cactus classes. But when I want to generate a report it 
don't do any thing. I take a look at the jcoverage:html-report, it have a prereq 
jcoverage:on test so the report is 
generate only for junit test.

I think it could be a good thing to be able to pass to coverages tools 
(jcoverage, clover...) a list of test to execute. It could be test type 
for example (unit test, integration ...) or test goal (cactus, test, ...)

Nicolas






"Vincent Massol" <[EMAIL PROTECTED]>
16/07/2004 11:03
Veuillez répondre à "Maven Users List"

 
Pour :  "'Maven Users List'" <[EMAIL PROTECTED]>
        cc : 
    Objet : RE: [test coverage] jcoverage and cactus tests




> -Original Message-
> From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> Sent: vendredi 16 juillet 2004 10:38
> To: Maven Users List
> Subject: RE: [test coverage] jcoverage and cactus tests
> 
> i have looked a bit more at the output.
> 
> when i use "maven clover:on cactus", it pass the tests
> 
> but when i use "maven clover:report" just after,
> clover says it override its database, then execute the
> unit tests only and i do not have the cactus tests covered.

Hmmm. I would need to try it. You can try calling "maven
clover:html-report-internal" instead of "maven clover:report" so that the
tests are not run. Beware though that clover:html-report-internal is a
non-public goal so it can disappear anytime in the future. Thus we'll need
to modify the clover plugin to support generating the reports without
running the tests.

-Vincent

> 
> R
> 
> 
> --- Raphaël Piéroni <[EMAIL PROTECTED]> a écrit : > Thanks
> Vincent,
> > but clover only has instrumented the junit tests
> > and let the cactus tests un intrumented
> >
> > Raphaël
> >
> > --- Vincent Massol <[EMAIL PROTECTED]> a écrit : > Hi Raphael,
> > >
> > > Simply type "maven clover:on cactus" and then "maven clover:report"
> > >
> > > -Vincent
> > >
> > > > -Original Message-
> > > > From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> > > > Sent: vendredi 16 juillet 2004 07:57
> > > > To: Maven Users List
> > > > Subject: Re: [test coverage] jcoverage and cactus tests
> > > >
> > > > even with clover ?
> > > >
> > > > --- Brett Porter <[EMAIL PROTECTED]> a écrit : > There is a
> > > bug
> > > > filed against the jcoverage plugin to implement this.
> > > > > Not yet possible.
> > > > >
> > > > > - Brett
> > > > >
> > > > > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > Hello list,
> > > > > >
> > > > > > Does any one know how to have the jcoverage of the cactus
> > tests
> > > > > > of a webapp using maven (1.0-rc4) ?
> > > > > >
> > > > > > and a subsidiary question : how can i have the jxr of those
> > > > > > cactus tests ?
> > > > > >
> > > > > > in advance thanks for any answer.
> > > > > >
> > > > > > Raphaël
> 
> 
> 
> 
> 
> 
> 
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> 
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez
> Yahoo! Messenger sur http://fr.messenger.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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





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



RE: [test coverage] jcoverage and cactus tests

2004-07-16 Thread Vincent Massol


> -Original Message-
> From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> Sent: vendredi 16 juillet 2004 10:38
> To: Maven Users List
> Subject: RE: [test coverage] jcoverage and cactus tests
> 
> i have looked a bit more at the output.
> 
> when i use "maven clover:on cactus", it pass the tests
> 
> but when i use "maven clover:report" just after,
> clover says it override its database, then execute the
> unit tests only and i do not have the cactus tests covered.

Hmmm. I would need to try it. You can try calling "maven
clover:html-report-internal" instead of "maven clover:report" so that the
tests are not run. Beware though that clover:html-report-internal is a
non-public goal so it can disappear anytime in the future. Thus we'll need
to modify the clover plugin to support generating the reports without
running the tests.

-Vincent

> 
> R
> 
> 
> --- Raphaël Piéroni <[EMAIL PROTECTED]> a écrit : > Thanks
> Vincent,
> > but clover only has instrumented the junit tests
> > and let the cactus tests un intrumented
> >
> > Raphaël
> >
> > --- Vincent Massol <[EMAIL PROTECTED]> a écrit : > Hi Raphael,
> > >
> > > Simply type "maven clover:on cactus" and then "maven clover:report"
> > >
> > > -Vincent
> > >
> > > > -Original Message-
> > > > From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> > > > Sent: vendredi 16 juillet 2004 07:57
> > > > To: Maven Users List
> > > > Subject: Re: [test coverage] jcoverage and cactus tests
> > > >
> > > > even with clover ?
> > > >
> > > > --- Brett Porter <[EMAIL PROTECTED]> a écrit : > There is a
> > > bug
> > > > filed against the jcoverage plugin to implement this.
> > > > > Not yet possible.
> > > > >
> > > > > - Brett
> > > > >
> > > > > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > Hello list,
> > > > > >
> > > > > > Does any one know how to have the jcoverage of the cactus
> > tests
> > > > > > of a webapp using maven (1.0-rc4) ?
> > > > > >
> > > > > > and a subsidiary question : how can i have the jxr of those
> > > > > > cactus tests ?
> > > > > >
> > > > > > in advance thanks for any answer.
> > > > > >
> > > > > > Raphaël
> 
> 
> 
> 
> 
> 
> 
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> 
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez
> Yahoo! Messenger sur http://fr.messenger.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: [test coverage] jcoverage and cactus tests

2004-07-16 Thread Raphaël Piéroni
i have looked a bit more at the output.

when i use "maven clover:on cactus", it pass the tests 

but when i use "maven clover:report" just after, 
clover says it override its database, then execute the 
unit tests only and i do not have the cactus tests covered.

R


--- Raphaël Piéroni <[EMAIL PROTECTED]> a écrit : > Thanks
Vincent, 
> but clover only has instrumented the junit tests
> and let the cactus tests un intrumented
> 
> Raphaël
> 
> --- Vincent Massol <[EMAIL PROTECTED]> a écrit : > Hi Raphael,
> > 
> > Simply type "maven clover:on cactus" and then "maven clover:report"
> > 
> > -Vincent
> > 
> > > -Original Message-
> > > From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> > > Sent: vendredi 16 juillet 2004 07:57
> > > To: Maven Users List
> > > Subject: Re: [test coverage] jcoverage and cactus tests
> > > 
> > > even with clover ?
> > > 
> > > --- Brett Porter <[EMAIL PROTECTED]> a écrit : > There is a
> > bug
> > > filed against the jcoverage plugin to implement this.
> > > > Not yet possible.
> > > >
> > > > - Brett
> > > >
> > > > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> > > > <[EMAIL PROTECTED]> wrote:
> > > > > Hello list,
> > > > >
> > > > > Does any one know how to have the jcoverage of the cactus
> tests
> > > > > of a webapp using maven (1.0-rc4) ?
> > > > >
> > > > > and a subsidiary question : how can i have the jxr of those
> > > > > cactus tests ?
> > > > >
> > > > > in advance thanks for any answer.
> > > > >
> > > > > Raphaël







Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! 
Messenger sur http://fr.messenger.yahoo.com

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



RE: [test coverage] jcoverage and cactus tests

2004-07-16 Thread Raphaël Piéroni
Thanks Vincent, 
but clover only has instrumented the junit tests
and let the cactus tests un intrumented

Raphaël

--- Vincent Massol <[EMAIL PROTECTED]> a écrit : > Hi Raphael,
> 
> Simply type "maven clover:on cactus" and then "maven clover:report"
> 
> -Vincent
> 
> > -Original Message-
> > From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> > Sent: vendredi 16 juillet 2004 07:57
> > To: Maven Users List
> > Subject: Re: [test coverage] jcoverage and cactus tests
> > 
> > even with clover ?
> > 
> > --- Brett Porter <[EMAIL PROTECTED]> a écrit : > There is a
> bug
> > filed against the jcoverage plugin to implement this.
> > > Not yet possible.
> > >
> > > - Brett
> > >
> > > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hello list,
> > > >
> > > > Does any one know how to have the jcoverage of the cactus tests
> > > > of a webapp using maven (1.0-rc4) ?
> > > >
> > > > and a subsidiary question : how can i have the jxr of those
> > > > cactus tests ?
> > > >
> > > > in advance thanks for any answer.
> > > >
> > > > Raphaël
> > > >

=

| Raphaël Piéroni  |
| 33+ 223 351 354  |
| mailto:[EMAIL PROTECTED]|
| http://www.dexem.com |
| mailing:[EMAIL PROTECTED] |







Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! 
Messenger sur http://fr.messenger.yahoo.com

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



RE: [test coverage] jcoverage and cactus tests

2004-07-15 Thread Vincent Massol
Hi Raphael,

Simply type "maven clover:on cactus" and then "maven clover:report"

-Vincent

> -Original Message-
> From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
> Sent: vendredi 16 juillet 2004 07:57
> To: Maven Users List
> Subject: Re: [test coverage] jcoverage and cactus tests
> 
> even with clover ?
> 
> --- Brett Porter <[EMAIL PROTECTED]> a écrit : > There is a bug
> filed against the jcoverage plugin to implement this.
> > Not yet possible.
> >
> > - Brett
> >
> > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> > <[EMAIL PROTECTED]> wrote:
> > > Hello list,
> > >
> > > Does any one know how to have the jcoverage of the cactus tests
> > > of a webapp using maven (1.0-rc4) ?
> > >
> > > and a subsidiary question : how can i have the jxr of those
> > > cactus tests ?
> > >
> > > in advance thanks for any answer.
> > >
> > > Raphaël
> > >
> 
> =
> 
> | Raphaël Piéroni  |
> | 33+ 223 351 354  |
> | mailto:[EMAIL PROTECTED]|
> | http://www.dexem.com |
> | mailing:[EMAIL PROTECTED] |
> 
> 
> 
> 
> 
> 
> 
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> 
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez
> Yahoo! Messenger sur http://fr.messenger.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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



Re: [test coverage] jcoverage and cactus tests

2004-07-15 Thread Raphaël Piéroni
even with clover ?

--- Brett Porter <[EMAIL PROTECTED]> a écrit : > There is a bug
filed against the jcoverage plugin to implement this.
> Not yet possible.
> 
> - Brett
> 
> On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> <[EMAIL PROTECTED]> wrote:
> > Hello list,
> > 
> > Does any one know how to have the jcoverage of the cactus tests
> > of a webapp using maven (1.0-rc4) ?
> > 
> > and a subsidiary question : how can i have the jxr of those
> > cactus tests ?
> > 
> > in advance thanks for any answer.
> > 
> > Raphaël
> > 

=

| Raphaël Piéroni  |
| 33+ 223 351 354  |
| mailto:[EMAIL PROTECTED]|
| http://www.dexem.com |
| mailing:[EMAIL PROTECTED] |







Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! 
Messenger sur http://fr.messenger.yahoo.com

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



Re: [test coverage] jcoverage and cactus tests

2004-07-15 Thread Brett Porter
There is a bug filed against the jcoverage plugin to implement this.
Not yet possible.

- Brett

On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
<[EMAIL PROTECTED]> wrote:
> Hello list,
> 
> Does any one know how to have the jcoverage of the cactus tests
> of a webapp using maven (1.0-rc4) ?
> 
> and a subsidiary question : how can i have the jxr of those
> cactus tests ?
> 
> in advance thanks for any answer.
> 
> Raphaël
> 
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> 
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! 
> Messenger sur http://fr.messenger.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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