tests: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(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...)
(No difference)

Revision as of 03:28, 13 July 2010

<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>