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,
> > > > > > >
> > > > > > > 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]