Microformats test suite

hRecipe 2 - multiple occurrence test

This page was design to test that values of a hRecipe which are meant to have multiple occurrences are parsed correctly.

From: hRecipe test suite 1.0

Author: Glenn Jones

Tests:

Test Result Comment
hrecipe[0].author[1] IsEqualTo("Jane Doe") The author is a multiple value
hrecipe[0].ingredient[1] IsEqualTo("1 egg") The ingredient is a multiple value
hrecipe[0].duration[1] IsEqualTo("PT30M") The duration is a multiple value
hrecipe[0].photo[1] IsEqualTo("http://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Traditional.Sunday.Roast-01.jpg/280px-Traditional.Sunday.Roast-01.jpg") The duration is a multiple value
hrecipe[0].nutrition[1] IsEqualTo("Fat: 2.5g") The nutrition is a multiple value
hrecipe[0].tag[1].tag IsEqualTo("english") The tag is a multiple value

History:

Yorkshire Pudding
Great with beef
By: Glenn Jones and Jane Doe
Makes 6 to 8 puddings
Make the batter by mixing everthing in a bowl
Takes: 20 to 30 mins
Amount Per Serving
Published 13 Aug 2011

Some rights reserved