tests

From Microformats Wiki
Revision as of 03:28, 13 July 2010 by Angelo (talk | contribs) (New page: <entry-title>Unified Test Suites</entry-title> With a single universal test suite all parties involved in the production and consumption of Microformats will benefit. == Guidelines == T...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<entry-title>Unified Test Suites</entry-title>

With a single universal test suite all parties involved in the production and consumption of Microformats will benefit.

Guidelines

Tests should:

  • be concise;
  • be defined in JSON;
  • cover all edge cases;
  • double as documentation;
  • use as few patterns as necessary;
  • and be released into the public domain

Format

<b class=vcard>Benoît Mandelbrot</b>

<script>
[
  {
    "vcard": {
      "fn": "Benoît Mandelbrot"
    }
  }
]
</script>