[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Initial tests available

On Thu, Jan 7, 2010 at 1:39 PM, Kenneth Russell <kbr@google.com> wrote:
Some initial tests have been checked in to the WebGL repository. These
are basically copies of tests from the WebKit repository used with
permission from Apple Computer and the Chromium team where

You can run them interactively in a WebGL enabled browser from


and check out their source code with

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

These aren't quite unit tests and aren't quite conformance tests which
is why they've been put in a directory called "fast".

The -expected.txt files are currently only used by WebKit's
run-webkit-tests script, but can be used to check for regressions.

More work is needed, for example to write a harness in _javascript_
which automatically runs each one and verifies against expected
results. Contributions are very welcome.

How about using selenium?  It's open source and it runs all the browser AFAIK. We have some existing code to do this from another project. That could would basically take a list of tests, tell the browser to run each one then wait for window.g_testResult to become defined true or false where true = that test passed.

Is that an okay direction?


You are currently subscribe to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: