Added "definedInSpecs" attribute to tests

4 views
Skip to first unread message

Wolfram Kriesing

unread,
Mar 14, 2011, 1:19:59 PM3/14/11
to webtes...@googlegroups.com
Hi,

I just added a new attribute "definedInSpecs" to some test cases.
Example content might look like so:
definedInSpecs:["http://www.w3.org/TR/2011/WD-html5-20110113/video.html#location-of-the-media-resource"]
as you can see i.e. in this file:
https://github.com/vf/web-testsuite/blob/master/src/tests/w3c/audio/properties.js#L54
This attribute contains a reference to the place(s) in the
specification where the behaviour the test implements is mentioned.
The attribute is an array so this test can also refer to multiple
versions of the specification. It is very common that test cases are
covered in multiple versions of specifications, such as in CSS2 and
CSS3, this can be covered by making this attribute an array.
Though be warned, the list is probably never exhaustive, means will
probably never contain all refs to all possible specifications where
this test case would apply. Maybe some sponsor would love to
contribute that, but I don't see the big reason for it yet.

--
Kind regards / Saludos / Mit freundlichen Grüßen

Wolfram Kriesing - Director Engineering, Co-Founder

We open the mobile web.
uxebu Consulting Ltd. & Co. KG
Richard-Strauss-Str. 21, 81677 München
krie...@uxebu.com, mobile: +49 174 300 4595

Amtsgericht München, Handelsregister HRA 93461
uxebu Ltd. - Sitz München, Handelsregister HRB 176791
Directors: W. Kriesing, N. Onken, T. von Klipstein

Reply all
Reply to author
Forward
0 new messages