You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Brett Porter <br...@apache.org> on 2005/12/23 04:00:09 UTC
clover default?
Hi,
I'm wondering what the default for clover should be:
- everything as now, but set forkmode once when running the tests (this
is how the cobertura plugin works - I have a patch for this if agreed)
- set the thread interval settings by default so that forking is not
required
Thoughts?
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: clover default?
Posted by Brett Porter <br...@apache.org>.
Vincent Massol wrote:
> No. It was because there was a bug and I had implemented the correct
> algorithm only for the clover:check goal. I have fixed that yesterday or
> today (can't remember).
>
Yep, I hadn't caught the commit there yet. It's working now.
-Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: clover default?
Posted by Vincent Massol <vm...@pivolis.com>.
> -----Original Message-----
> From: Brett Porter [mailto:brett@apache.org]
> Sent: vendredi 23 décembre 2005 22:23
> To: Maven Developers List
> Subject: Re: clover default?
>
> Without the threading settings? did you change something?
The defaults are:
- flushPolicy = threaded
- flushInterval = 500
AFAIK they do work fine. I've just tried them again on my laptop and they
worked.
> I had been getting 0 results running clover:clover. This is because it
> terminates immediately after the tests complete, before flushing the db.
No. It was because there was a bug and I had implemented the correct
algorithm only for the clover:check goal. I have fixed that yesterday or
today (can't remember).
> When run under site it works, because other things happen after clover
> giving the jvm long enough to pick up the thread and flush the db.
Try it. Everything should work fine.
Thanks
-Vincent
> Vincent Massol wrote:
> > Hi Brett,
> >
> >
> >> -----Original Message-----
> >> From: Brett Porter [mailto:brett@apache.org]
> >> Sent: vendredi 23 décembre 2005 04:00
> >> To: Maven Developers List
> >> Subject: clover default?
> >>
> >> Hi,
> >>
> >> I'm wondering what the default for clover should be:
> >> - everything as now, but set forkmode once when running the tests (this
> >> is how the cobertura plugin works - I have a patch for this if agreed)
> >> - set the thread interval settings by default so that forking is not
> >> required
> >>
> >> Thoughts?
> >>
> >
> > The current version of the clover plugin works without requiring to fork
> the
> > tests so I believe this is the best solution. I'm currently fixing an
> issue
> > in the clover:report goal WRT this but this is working fine.
> >
> > Thanks
> > -Vincent
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: clover default?
Posted by Brett Porter <br...@apache.org>.
Without the threading settings? did you change something?
I had been getting 0 results running clover:clover. This is because it
terminates immediately after the tests complete, before flushing the db.
When run under site it works, because other things happen after clover
giving the jvm long enough to pick up the thread and flush the db.
- Brett
Vincent Massol wrote:
> Hi Brett,
>
>
>> -----Original Message-----
>> From: Brett Porter [mailto:brett@apache.org]
>> Sent: vendredi 23 décembre 2005 04:00
>> To: Maven Developers List
>> Subject: clover default?
>>
>> Hi,
>>
>> I'm wondering what the default for clover should be:
>> - everything as now, but set forkmode once when running the tests (this
>> is how the cobertura plugin works - I have a patch for this if agreed)
>> - set the thread interval settings by default so that forking is not
>> required
>>
>> Thoughts?
>>
>
> The current version of the clover plugin works without requiring to fork the
> tests so I believe this is the best solution. I'm currently fixing an issue
> in the clover:report goal WRT this but this is working fine.
>
> Thanks
> -Vincent
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: clover default?
Posted by Vincent Massol <vm...@pivolis.com>.
Hi Brett,
> -----Original Message-----
> From: Brett Porter [mailto:brett@apache.org]
> Sent: vendredi 23 décembre 2005 04:00
> To: Maven Developers List
> Subject: clover default?
>
> Hi,
>
> I'm wondering what the default for clover should be:
> - everything as now, but set forkmode once when running the tests (this
> is how the cobertura plugin works - I have a patch for this if agreed)
> - set the thread interval settings by default so that forking is not
> required
>
> Thoughts?
The current version of the clover plugin works without requiring to fork the
tests so I believe this is the best solution. I'm currently fixing an issue
in the clover:report goal WRT this but this is working fine.
Thanks
-Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org