Regression tests (was: Varnish version 2 and beyond)

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Nov 1 10:19:30 CET 2006


In message <45486396.4080502 at apache.org>, Paul Querna writes:

>I wrote the Vary support for Apache's mod_disk_cache at one time, and 
>would be happy to provide feedback on what worked and what didn't.  To 
>me it seems the lack of Vary (and hence enable compression in most 
>cases) is a major blocker for larger adoption.

I'll take you up on that in due time :-)

>> As a programmer I want to add, high on the list:
>> 
>> 	Regression test driver
>> 	Regression test cases
>
>Have you looked at the httpd-test project, used by mod_perl and httpd?
>
>http://svn.apache.org/viewvc/httpd/test/trunk/perl-framework/

I havn't really given this area the attention it deserves, so
I have not looked at any tools at all.

(There is a potential license issue if we import something, but
we can probably handle that somehow.)

But I think it may make sense to write our own tool for purely
practical reasons:

Will need to teach our tool about changing Varnish parameters and
flipping VCL programs, in essence making the Varnish CLI a paramter
in the equation.

But also the temporal aspect of testing the expiry and timeouts has
me worried, getting that right is going to be slightly involved.

This is one of the areas where I would LOVE to see somebody with
a good PERL clue step up and help us out, because I'm not strong
on PERL and this is a very well isolated task to work on.

Poul-Henning

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list