Re: Clover vs. Cobertura, was: Test coverage
I'm not sure what the official support statement is, but I havn't had any issues with running Clover in Eclipse 3.2. Brent On 9/8/06, ant elder <[EMAIL PROTECTED]> wrote: I tried mvn clover:instrument clover:clover and it seems to work fine so thats just about as easy as cobertura, apart from having to mess about with a license. AFAICT the Clover Eclipse plugin doesn't support Eclipse 3.2 yet so I can't use it. Requiring a license is a drawback, especially for non-committers who would need to go apply for their own free one, so cobertura seems best to me. Do we really need to choose one over the other? As we're just running this on our own local environment can't we just let everyone choose whichever they like? ...ant On 9/7/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote: > > I tried both, they were both easy to run and seemed to generate > similar results. > > To run clover: > # add 1.5 to the plugin config in the pom > $ mvn clover:instrument clover:clover > > To run cobertura: > $ mvn cobertura:cobertura > > Both seem to integrate well with Maven but Clover also integrates > with IDEA and Eclipse so I'm tempted to go with that - any objections? > -- > Jeremy > > On Sep 5, 2006, at 8:14 AM, Jeremy Boynes wrote: > > > On Aug 16, 2006, at 2:49 PM, Jim Marino wrote: > >>> 2) SCA Core (spi, core, hostutil, test, plus apis once that > >>> refactor is done) > >>>Features I would like to see complete before we consider this > >>> stable are: > >>> Class loading changes > >>> Integration of databinding framework > >>> Support for async callbacks > >>> Support for complex properties > >>> Transitive dependency support > >>> > >> I'd also like to see much better test coverage than what we have. > >> This is hard to quantify, but while code coverage does not > >> guarantee good tests, it is an indicator. So, to have a metric, > >> I'd like to see core (and other extensions) at 75% coverage when > >> run through Clover. I picked Clover since it is a decent tool and > >> license-friendly but if someone would like to suggest an > >> alternative we could look at it as well. > > > > I think this goal is worth pursuing and would add that as a > > criteria for the next release. Apache has a license for Clover so > > we can all use it, Cobertura would be another alternative - any > > preference here? Whatever we use, I don't think this should be part > > of the build right now (although that could change later) but that > > the tool should be run periodically and the results published > > somewhere (e.g. on our site). > > > > Now Jim here only mentioned the core but this would apply to other > > extensions as well - I would be inclined to extend this requirement > > to any extension we consider "baseline" - any objections? > > > > -- > > Jeremy > > > > > > - > > 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: Clover vs. Cobertura, was: Test coverage
I tried mvn clover:instrument clover:clover and it seems to work fine so thats just about as easy as cobertura, apart from having to mess about with a license. AFAICT the Clover Eclipse plugin doesn't support Eclipse 3.2 yet so I can't use it. Requiring a license is a drawback, especially for non-committers who would need to go apply for their own free one, so cobertura seems best to me. Do we really need to choose one over the other? As we're just running this on our own local environment can't we just let everyone choose whichever they like? ...ant On 9/7/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote: I tried both, they were both easy to run and seemed to generate similar results. To run clover: # add 1.5 to the plugin config in the pom $ mvn clover:instrument clover:clover To run cobertura: $ mvn cobertura:cobertura Both seem to integrate well with Maven but Clover also integrates with IDEA and Eclipse so I'm tempted to go with that - any objections? -- Jeremy On Sep 5, 2006, at 8:14 AM, Jeremy Boynes wrote: > On Aug 16, 2006, at 2:49 PM, Jim Marino wrote: >>> 2) SCA Core (spi, core, hostutil, test, plus apis once that >>> refactor is done) >>>Features I would like to see complete before we consider this >>> stable are: >>> Class loading changes >>> Integration of databinding framework >>> Support for async callbacks >>> Support for complex properties >>> Transitive dependency support >>> >> I'd also like to see much better test coverage than what we have. >> This is hard to quantify, but while code coverage does not >> guarantee good tests, it is an indicator. So, to have a metric, >> I'd like to see core (and other extensions) at 75% coverage when >> run through Clover. I picked Clover since it is a decent tool and >> license-friendly but if someone would like to suggest an >> alternative we could look at it as well. > > I think this goal is worth pursuing and would add that as a > criteria for the next release. Apache has a license for Clover so > we can all use it, Cobertura would be another alternative - any > preference here? Whatever we use, I don't think this should be part > of the build right now (although that could change later) but that > the tool should be run periodically and the results published > somewhere (e.g. on our site). > > Now Jim here only mentioned the core but this would apply to other > extensions as well - I would be inclined to extend this requirement > to any extension we consider "baseline" - any objections? > > -- > Jeremy > > > - > 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: Clover vs. Cobertura, was: Test coverage
I sent the location to tuscany-private -- Jeremy On Sep 7, 2006, at 9:57 PM, Raymond Feng wrote: Can you give us a pointer where to get the clover license for apache? Thanks, Raymond - Original Message - From: "Jeremy Boynes" <[EMAIL PROTECTED]> To: Sent: Thursday, September 07, 2006 10:26 AM Subject: Clover vs. Cobertura, was: Test coverage I tried both, they were both easy to run and seemed to generate similar results. To run clover: # add 1.5 to the plugin config in the pom $ mvn clover:instrument clover:clover To run cobertura: $ mvn cobertura:cobertura Both seem to integrate well with Maven but Clover also integrates with IDEA and Eclipse so I'm tempted to go with that - any objections? -- Jeremy On Sep 5, 2006, at 8:14 AM, Jeremy Boynes wrote: On Aug 16, 2006, at 2:49 PM, Jim Marino wrote: 2) SCA Core (spi, core, hostutil, test, plus apis once that refactor is done) Features I would like to see complete before we consider this stable are: Class loading changes Integration of databinding framework Support for async callbacks Support for complex properties Transitive dependency support I'd also like to see much better test coverage than what we have. This is hard to quantify, but while code coverage does not guarantee good tests, it is an indicator. So, to have a metric, I'd like to see core (and other extensions) at 75% coverage when run through Clover. I picked Clover since it is a decent tool and license-friendly but if someone would like to suggest an alternative we could look at it as well. I think this goal is worth pursuing and would add that as a criteria for the next release. Apache has a license for Clover so we can all use it, Cobertura would be another alternative - any preference here? Whatever we use, I don't think this should be part of the build right now (although that could change later) but that the tool should be run periodically and the results published somewhere (e.g. on our site). Now Jim here only mentioned the core but this would apply to other extensions as well - I would be inclined to extend this requirement to any extension we consider "baseline" - any objections? -- Jeremy - 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: Clover vs. Cobertura, was: Test coverage
Can you give us a pointer where to get the clover license for apache? Thanks, Raymond - Original Message - From: "Jeremy Boynes" <[EMAIL PROTECTED]> To: Sent: Thursday, September 07, 2006 10:26 AM Subject: Clover vs. Cobertura, was: Test coverage I tried both, they were both easy to run and seemed to generate similar results. To run clover: # add 1.5 to the plugin config in the pom $ mvn clover:instrument clover:clover To run cobertura: $ mvn cobertura:cobertura Both seem to integrate well with Maven but Clover also integrates with IDEA and Eclipse so I'm tempted to go with that - any objections? -- Jeremy On Sep 5, 2006, at 8:14 AM, Jeremy Boynes wrote: On Aug 16, 2006, at 2:49 PM, Jim Marino wrote: 2) SCA Core (spi, core, hostutil, test, plus apis once that refactor is done) Features I would like to see complete before we consider this stable are: Class loading changes Integration of databinding framework Support for async callbacks Support for complex properties Transitive dependency support I'd also like to see much better test coverage than what we have. This is hard to quantify, but while code coverage does not guarantee good tests, it is an indicator. So, to have a metric, I'd like to see core (and other extensions) at 75% coverage when run through Clover. I picked Clover since it is a decent tool and license-friendly but if someone would like to suggest an alternative we could look at it as well. I think this goal is worth pursuing and would add that as a criteria for the next release. Apache has a license for Clover so we can all use it, Cobertura would be another alternative - any preference here? Whatever we use, I don't think this should be part of the build right now (although that could change later) but that the tool should be run periodically and the results published somewhere (e.g. on our site). Now Jim here only mentioned the core but this would apply to other extensions as well - I would be inclined to extend this requirement to any extension we consider "baseline" - any objections? -- Jeremy - 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]
Clover vs. Cobertura, was: Test coverage
I tried both, they were both easy to run and seemed to generate similar results. To run clover: # add 1.5 to the plugin config in the pom $ mvn clover:instrument clover:clover To run cobertura: $ mvn cobertura:cobertura Both seem to integrate well with Maven but Clover also integrates with IDEA and Eclipse so I'm tempted to go with that - any objections? -- Jeremy On Sep 5, 2006, at 8:14 AM, Jeremy Boynes wrote: On Aug 16, 2006, at 2:49 PM, Jim Marino wrote: 2) SCA Core (spi, core, hostutil, test, plus apis once that refactor is done) Features I would like to see complete before we consider this stable are: Class loading changes Integration of databinding framework Support for async callbacks Support for complex properties Transitive dependency support I'd also like to see much better test coverage than what we have. This is hard to quantify, but while code coverage does not guarantee good tests, it is an indicator. So, to have a metric, I'd like to see core (and other extensions) at 75% coverage when run through Clover. I picked Clover since it is a decent tool and license-friendly but if someone would like to suggest an alternative we could look at it as well. I think this goal is worth pursuing and would add that as a criteria for the next release. Apache has a license for Clover so we can all use it, Cobertura would be another alternative - any preference here? Whatever we use, I don't think this should be part of the build right now (although that could change later) but that the tool should be run periodically and the results published somewhere (e.g. on our site). Now Jim here only mentioned the core but this would apply to other extensions as well - I would be inclined to extend this requirement to any extension we consider "baseline" - any objections? -- Jeremy - 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]