[webkit-dev] testharness Wiki page added

Maciej Stachowiak mjs at apple.com
Thu May 31 14:09:15 PDT 2012

On May 31, 2012, at 2:18 PM, Jacob Goldstein <jacobg at adobe.com> wrote:

> I added the following Wiki page to provide some information on testharness.js (the JavaScript framework from W3C recently landed in WebKit):
> http://trac.webkit.org/wiki/Writing%20testharness%20Tests
> I also updated the text under "Writing JavaScript-based DOM only test cases" on this page http://trac.webkit.org/wiki/Writing%20Layout%20Tests%20for%20DumpRenderTree.  
> Note that I am recommending the use of testharness.js / testharnessreport.js over js-test-pre.js/js-test-post.js, when applicable, since tests written using testharness can be copied to the W3C test repository with only minor changes.  
> Please review and send me any feedback on these pages.  I am considering adding a detailed example to the testharness wiki page to demonstrate how the API should be used.

In my experience, the W3C's DOM test harness results in tests that are more verbose, are less readable, and which have less readable output, as compared to js-test-pre.hs. I wish we would improve the W3C's upstream test harness instead of degrading the quality of our own tests.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120531/4ba803d1/attachment.html>

More information about the webkit-dev mailing list