You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2004/04/24 18:51:31 UTC

Test coverage

Folks,
I think it is time we started using Clover reports for the CVS HEAD
development. Currently our test coverage is appalling (meager 50%).
Since we have got a very flexible testing framework based on
SimpleHttpServer, we no longer have an excuse that certain complex
things cannot be adequately simulated to be properly covered with test
cases.

In order to get the ball rolling I am committed to restructure
Cookie/CookieSpec related test cases, increase the test coverage to 90
something per cent and get rid of TestWebappCookie stuff (which is
currently geared towards testing Tomcat cookie management rather than
that of HttpClient)

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Re: Test coverage

Posted by Michael Becke <be...@u.washington.edu>.
Nice work Oleg.  Though not terribly glamorous, test work is definitely 
needed.

Mike

On Apr 25, 2004, at 8:28 AM, Oleg Kalnichevski wrote:

> Cookie classes have got virtually 100% test coverage. Clover is 
> horrible
> way to spend a weekend [sigh]
>
> Oleg
>
>
> On Sat, 2004-04-24 at 18:51, Oleg Kalnichevski wrote:
>> Folks,
>> I think it is time we started using Clover reports for the CVS HEAD
>> development. Currently our test coverage is appalling (meager 50%).
>> Since we have got a very flexible testing framework based on
>> SimpleHttpServer, we no longer have an excuse that certain complex
>> things cannot be adequately simulated to be properly covered with test
>> cases.
>>
>> In order to get the ball rolling I am committed to restructure
>> Cookie/CookieSpec related test cases, increase the test coverage to 90
>> something per cent and get rid of TestWebappCookie stuff (which is
>> currently geared towards testing Tomcat cookie management rather than
>> that of HttpClient)
>>
>> Oleg
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: 
>> commons-httpclient-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: 
>> commons-httpclient-dev-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Re: Test coverage

Posted by Oleg Kalnichevski <ol...@apache.org>.
Cookie classes have got virtually 100% test coverage. Clover is horrible
way to spend a weekend [sigh]

Oleg


On Sat, 2004-04-24 at 18:51, Oleg Kalnichevski wrote:
> Folks,
> I think it is time we started using Clover reports for the CVS HEAD
> development. Currently our test coverage is appalling (meager 50%).
> Since we have got a very flexible testing framework based on
> SimpleHttpServer, we no longer have an excuse that certain complex
> things cannot be adequately simulated to be properly covered with test
> cases.
> 
> In order to get the ball rolling I am committed to restructure
> Cookie/CookieSpec related test cases, increase the test coverage to 90
> something per cent and get rid of TestWebappCookie stuff (which is
> currently geared towards testing Tomcat cookie management rather than
> that of HttpClient)
> 
> Oleg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


RE: Test coverage

Posted by Oleg Kalnichevski <ol...@apache.org>.
Right now I am more interested in having Cookie test cases cleaned up
and restructured. I do not think I'll be aiming at 100% coverage for the
time being. Once Clover 1.3 is out, I may extend the coverage

Oleg


On Sat, 2004-04-24 at 19:07, Sam Berlin wrote:
> Clover is fantastic.  We use Clover during our nightly test suite and the coverage reports are very great tools.  You might want to consider waiting a week or more, as Clover is right now in the process of finishing up their 1.3 release (they're on 1.3rc3 right now).
> 
> Thanks,
>  Sam
> 
> -----Original Message-----
> From: Oleg Kalnichevski [mailto:olegk@apache.org]
> Sent: Saturday, April 24, 2004 12:52 PM
> To: Jakarta Commons HttpClient mailing list
> Subject: Test coverage
> 
> 
> Folks,
> I think it is time we started using Clover reports for the CVS HEAD
> development. Currently our test coverage is appalling (meager 50%).
> Since we have got a very flexible testing framework based on
> SimpleHttpServer, we no longer have an excuse that certain complex
> things cannot be adequately simulated to be properly covered with test
> cases.
> 
> In order to get the ball rolling I am committed to restructure
> Cookie/CookieSpec related test cases, increase the test coverage to 90
> something per cent and get rid of TestWebappCookie stuff (which is
> currently geared towards testing Tomcat cookie management rather than
> that of HttpClient)
> 
> Oleg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


RE: Test coverage

Posted by Sam Berlin <sb...@limepeer.com>.
Clover is fantastic.  We use Clover during our nightly test suite and the coverage reports are very great tools.  You might want to consider waiting a week or more, as Clover is right now in the process of finishing up their 1.3 release (they're on 1.3rc3 right now).

Thanks,
 Sam

-----Original Message-----
From: Oleg Kalnichevski [mailto:olegk@apache.org]
Sent: Saturday, April 24, 2004 12:52 PM
To: Jakarta Commons HttpClient mailing list
Subject: Test coverage


Folks,
I think it is time we started using Clover reports for the CVS HEAD
development. Currently our test coverage is appalling (meager 50%).
Since we have got a very flexible testing framework based on
SimpleHttpServer, we no longer have an excuse that certain complex
things cannot be adequately simulated to be properly covered with test
cases.

In order to get the ball rolling I am committed to restructure
Cookie/CookieSpec related test cases, increase the test coverage to 90
something per cent and get rid of TestWebappCookie stuff (which is
currently geared towards testing Tomcat cookie management rather than
that of HttpClient)

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org