A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on IRC (such as one of these permanent autoconfirmed members).

Difference between revisions of "Testsuite"

From WHATWG Wiki
Jump to: navigation, search
(Add more testcase links)
(Existing tests: more tests)
Line 19: Line 19:
 
* [http://philip.html5.org/tests/canvas/suite/tests/ Philip's canvas tests]
 
* [http://philip.html5.org/tests/canvas/suite/tests/ Philip's canvas tests]
 
* [http://hixie.ch/tests/adhoc/html/ Hixie's ad-hoc tests]
 
* [http://hixie.ch/tests/adhoc/html/ Hixie's ad-hoc tests]
 +
* [http://lachy.id.au/dev/markup/tests/html5/ Lachlan's tests]
 +
* [http://hg.gsnedders.com/php-html-5-direct/file/tip/tests/numbersTest gsnedders' number parsing tests]
 +
* [http://simon.html5.org/test/html/ zcorpan's tests]
 
* [http://code.google.com/p/html5lib/source/browse/trunk/testdata/ html5lib tests]
 
* [http://code.google.com/p/html5lib/source/browse/trunk/testdata/ html5lib tests]
 +
* [http://hsivonen.iki.fi/test/moz/video-selection/ hsivonen's video tests]

Revision as of 16:34, 27 January 2009

Existing tests URI: http://dev.w3.org/html5/tests/

Requirements

  • Each test needs a "reviewed" marker of some sort
  • It must be easy to find tests where the spec has changed under them
  • The barrier to contribution must be as low as possible
  • Testcases should have somewhat stable URIs
  • If test can be done using JavaScript preferably require it to be in JavaScript so engines can be more efficiently tested (i.e. automated).

Non-requirements

  • There does not need to be a single consistent test harness for the whole of HTML5. (When sections can be tested in isolation, each section should use a test harness that is suited to that section's testing requirements. E.g. there is little value in fitting canvas tests and parser tests into the same framework, and it may add a lot of complexity.)

Existing tests