[uf-dev] hAtom atomic tests

Ryan King ryan at technorati.com
Sun Jun 3 00:35:58 PDT 2007


On Jun 1, 2007, at 11:26 PM, Kevin Marks wrote:
> On May 30, 2007, at 10:47 AM, Ryan King wrote:
>
>> As hinted at by a previous email[1], I'm starting to organize our  
>> test suite into something with a bit more structure.
>>
>> hAtom is currently on my plate for implementation, so I'm focusing  
>> on that. I just pushed a changeset[2] to the mercurial respository  
>> that adds some atomic tests for hAtom [3].
>>
>> Please give feedback if you have any suggestions for improvements.
>>
>> -ryan
>>
>> 1. http://microformats.org/discuss/mail/microformats-dev/2007-May/ 
>> 000325.html
>> 2. http://hg.microformats.org/tests? 
>> cmd=changeset;node=ef2a531a19ac;style=gitweb
>> 3. Atomic tests for hAtom were actually pretty hard to write.  
>> Atomic tests should be as simple and isolated as possible, but it  
>> turns out that Atom has some non-trivial requirements for creating  
>> valid documents.
>
> Have a look at Mark Pilgrim's test suite; if you have atom2hAtom,  
> that could be a big source
>
> http://feedparser.org/tests/wellformed/atom10/

Having atom2hAtom would be nice, but it doesn't exist yet because  
that's kinda what we're trying to define right now.

-ryan


More information about the microformats-dev mailing list