[Imps] Test cases for parsing spec

James Graham jg307 at cam.ac.uk
Wed Dec 6 11:14:27 PST 2006


Sam Ruby wrote:

> My guess is that typically, what you are looking for is a single token, 
> or at most a short sequence.  A semicolon separated list of tokens 
> (generally only one) would suffice for most cases.
> 
> I'd also suggest ditching most of the noise characters:
> 
>   Expect: StartTag a href='#' title='foo'

Sounds reasonable to me (but I don't claim to be a good arbiter of such things). 
I think Hixie mentioned the possibility of multiple tests per file with some way 
of separating them, although I notice both the feed parser and validator have 
one test per file.


-- 
"Eternity's a terrible thought. I mean, where's it all going to end?"
  -- Tom Stoppard, Rosencrantz and Guildenstern are Dead



More information about the Implementors mailing list