Re: link test suite

On Monday 28 January 2008, Olivier Thereaux wrote:
> In the past couple of weeks I've been working on a “link test suite”, a
> test suite for our link checker, which I think should be easy to extend
> to other link checkers and a number of other UAs (spiders, etc) meant to
> parse markup, follow links and interact with HTTP servers.

Great stuff, thanks a lot!

Just one comment:

> for the HTTP 404 (DNS
> error) it's because the "code" for the error is -2 (dns resolution
> failed) while I was expecting a 404

In principle, I'm inclined to disagree that 404 would be the expected status 
code for DNS failures.  If a host cannot be resolved, no HTTP transaction can 
actually occur, so there actually can't be any real response code either, 
right?  I'm not sure what that'd mean from the test suite POV yet nor 
whether -2 makes any sense at all, but I thought I'd mention it.

Similar considerations apply to cases where hosts can be resolved but cannot 
be contacted for whatever reason.

Received on Thursday, 31 January 2008 23:51:43 UTC