Skip to content

Testing

Nikos Andronikos edited this page Sep 15, 2016 · 15 revisions

The test suite for SVG 2 is hosted at https://github.com/w3c/web-platform-tests/tree/master/svg

Test suite structure

Within the svg web-platform-tests/svg directory:

  • One directory per chapter
  • 'import' directory containing the unmodified SVG 1.1 SE test suite

Within each chapter directory:

  • 'reftest' directory containing reference tests
  • 'scripted' directory containing testharness.js script tests

Contributing tests

See https://github.com/w3c/web-platform-tests/#contributing

To do: Work out who can/should accept PRs and get them access

Out of date test suites

There are a number of early SVG 2 hosted in the SVG WG mercurial repository, these need to be imported into web-platform-tests. See https://github.com/w3c/web-platform-tests/issues/2885

The SVG 1.1 test suite has been copied into web-platform-tests under https://github.com/w3c/web-platform-tests/tree/master/svg/import, but the tests need to be updated to the web-platform-test structure.

Clone this wiki locally