Testing/Conformance: Difference between revisions

From WebGL Public Wiki
Jump to navigation Jump to search
Provided info on submitting new conformance tests
No edit summary
Line 9: Line 9:
The latest version of the conformance suite can be run by visiting
The latest version of the conformance suite can be run by visiting


https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/webgl-conformance-tests.html
https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html


Various options may be passed in via the URL. See the [https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/readme.txt README.txt] for details.
Various options may be passed in via the URL. See the [https://www.khronos.org/registry/webgl/sdk/tests/README.txt README.txt] for details.


Previous versions can be found at
Previous versions can be found at


https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/
https://www.khronos.org/registry/webgl/conformance-suites/


== Source code ==
== Source code ==

Revision as of 22:38, 1 August 2012

Conformance tests

In order for an implementation to claim it supports WebGL it must pass a set of conformance tests. Many of the tests are there to hopefully find incompatibilites between implementations. This is to promote the goal that a WebGL program created in a particular browser on a particular OS will run on any browser and any OS without modification.

The biggest issue is that WebGL is based on OpenGL ES 2.0 which has significant differences from desktop OpenGL. Those differences need to be tested against.

WebGL Conformance Test Suite

The latest version of the conformance suite can be run by visiting

https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html

Various options may be passed in via the URL. See the README.txt for details.

Previous versions can be found at

https://www.khronos.org/registry/webgl/conformance-suites/

Source code

The currently available tests are hosted at

   https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/

Their source code can be checked out with

   svn checkout https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl

Submitting new tests

New submissions to the conformance test suite are welcome. Please generate a patch, file a bug using Khronos' Bugzilla against product WebGL, component Conformance Tests, and attach your patch.

For Implementers of the WebGL API

If you or your company is implementing the WebGL API in a web browser and you desire to have your implementation certified as compliant, please visit the WebGL Implementers' Resources for information on producing a submission of the conformance suite.