hcard-tests

(Difference between revisions)

Jump to: navigation, search
(External Tests)
(note recent work on test repository, hg repository)
Line 1: Line 1:
-
= hCard Tests =
+
The [http://microformats.org/tests/ hcard and hcalendar tests collection] was announced in a [http://microformats.org/discuss/mail/microformats-dev/2006-June/000102.html Jun 7 message] from [[User:RyanKing]].
-
This page is for documenting [[hcard|hCard]] tests / test cases, both directly, and by reference.
+
It's managed in [http://hg.microformats.org/tests/ an hg repository]. [http://www.selenic.com/mercurial/ hg/mercurial] is a distributed revision control system. It can be a little tricky to unlearn cvs habits; there are some good diagrams in [http://www.selenic.com/mercurial/wiki/index.cgi/Presentations?action=AttachFile&do=get&target=google.pdf slides from a 19 Jun talk that Bryan O'Sullivan gave at google]. The
 +
[http://www.selenic.com/mercurial/wiki/index.cgi/Presentations mercurial presentations page] also has a link to a 50 minute video.
-
== Test Cases ==
+
== External Tests ==
-
=== simple hCard ===
+
These are subsumed by the above tests, yes?
-
 
+
-
* code
+
-
<pre>
+
-
<span class="vcard"><span class="fn n">Tantek Çelik</span></span>
+
-
</pre>
+
-
 
+
-
* inline
+
-
<span class="vcard"><span class="fn n">Tantek Çelik</span></span>
+
-
 
+
-
=== a few more ===
+
-
<div class="vcard">
+
-
<span class="fn">John Doe</span>
+
-
<span class="note">normal card</span>
+
-
</div>
+
-
 
+
-
<div class="vcard" id="thisOne">
+
-
<span class="fn">John Doe</span>
+
-
<span class="note">card with an ID</span>
+
-
</div>
+
-
 
+
-
<div class="vcard ">
+
-
<span class=" fn">John Doe2</span>
+
-
<span class="note">tabs in class fields</span>
+
-
</div>
+
-
 
+
-
== External Tests ==
+
DanConnolly is working on [http://dev.w3.org/cvsweb/2001/palmagent/hcardTest.html hcardTest.html]; [http://dev.w3.org/cvsweb/~checkout~/2001/palmagent/hcardTest.html?rev=HEAD&content-type=text/html;%20charset=iso-8859-1 the current version] is always available. (I dunno why cvsweb uses the ordinary looing URL for the changelog rather than the current version.)
DanConnolly is working on [http://dev.w3.org/cvsweb/2001/palmagent/hcardTest.html hcardTest.html]; [http://dev.w3.org/cvsweb/~checkout~/2001/palmagent/hcardTest.html?rev=HEAD&content-type=text/html;%20charset=iso-8859-1 the current version] is always available. (I dunno why cvsweb uses the ordinary looing URL for the changelog rather than the current version.)
MarkPilgrim maintains a series of [http://diveintomark.org/projects/greasemonkey/hcard/tests/ hCard tests] for use with his [http://diveintomark.org/projects/greasemonkey/hcard/ hCard parser]
MarkPilgrim maintains a series of [http://diveintomark.org/projects/greasemonkey/hcard/tests/ hCard tests] for use with his [http://diveintomark.org/projects/greasemonkey/hcard/ hCard parser]

Revision as of 17:58, 24 June 2006

The hcard and hcalendar tests collection was announced in a Jun 7 message from User:RyanKing.

It's managed in an hg repository. hg/mercurial is a distributed revision control system. It can be a little tricky to unlearn cvs habits; there are some good diagrams in slides from a 19 Jun talk that Bryan O'Sullivan gave at google. The mercurial presentations page also has a link to a 50 minute video.

External Tests

These are subsumed by the above tests, yes?

DanConnolly is working on hcardTest.html; the current version is always available. (I dunno why cvsweb uses the ordinary looing URL for the changelog rather than the current version.)

MarkPilgrim maintains a series of hCard tests for use with his hCard parser

hcard-tests was last modified: Wednesday, December 31st, 1969

Views