This test suite was built to test microformats parsers. The tests are marked up in web pages and are human readable and then converted into JavaScript mocha.js test. The test are broken into two sets:
- h-adr
- h-card
- h-entry
- h-event
- h-geo
- h-news
- h-org
- h-product
- h-recipe
- h-resume
- h-review-aggregate
- h-review
- rel=*
- url
- include patterns
- mixed-versions
- adr
- geo
- hcalendar
- hcard
- hentry
- hnews
- hproduct
- hrecipe
- hresume
- hreview-aggregate
- hreview
(last update on 7 Feb 2013)
You can test a browser compatibility by building a simple a simple helper.js wrapper a web API and recreating the two test html documents.
microformat-node - v1 test and v2 test
The project contains a node.js app that can convert the html mark-up into the mocha.js test files. You need to setup simple a node.js server. You will need to install node.js and nmp. At the command line for the downloaded directory for this project excute the following:
npm install
then start the server with the command:
node bin/tests
within a browser you should now be able to view the test html pages:
http://localhost:8888/h-card.html
finally call the web page to recreate the *.test.js files, by view the web address:
http://localhost:8888/update/
###License All content and code in this repo is released into the public domain.