[webkit-dev] Another WPT bite
youennf at gmail.com
Mon May 8 22:42:45 PDT 2017
testharness.js does not need an http server. Some WPT goodies need the WPT
I agree different frameworks offer different benefits. There is no reason
we should mandate one framework in particular.
In case there is no specific needs, it makes sense to me to recommend using
testharness.js, at least for those hacking WebCore. Chances are high that
another browser community might like running (and improving and
Chances are also high that one will have to debug/update such tests, so it
is good to learn this framework anyway.
Le lun. 8 mai 2017 à 22:17, Brady Eidson <beidson at apple.com> a écrit :
> On May 8, 2017, at 9:31 PM, youenn fablet <youennf at gmail.com> wrote:
> Hi all,
> Discussing with some WebKittens, testharness.js is more and more used in
> Is it time to make testharness.js the recommended way of writing
> Setting aside the pros or cons of testharness.js itself, I disagree with
> the principle of "1 single way to write all regression tests"
> In the past 11 years I've heard from multiple members of the team
> commenting on the benefits of different people writing regression tests in
> their own styles using their own techniques. We're capable of covering more
> edge cases when we don't have enforced uniformity. And I agree
> But now talking about testharness.js directly, I object on the grounds of
> "a file:// regression test is dirt easy to hack on and work with, whereas
> anything that requires me to have an httpd running is a PITA"
> Note: I don't intend for any of this to mean I discourage the use of
> testharness.js tests. I don't. By all means, write them.
> I just object to making it the "recommended way" of writing tests.
> To continue moving forward, some of us are proposing to serve all tests in
> LayoutTests/wpt through the WPT server .
> This would serve some purposes like increasing the use of WPT goodies:
> file-specific headers, templated tests (*.any.js), IDLParser, server-side
> It could also ease test migration from WebKit to W3C WPT.
> Some rules can guide whether adding tests to LayoutTests/wpt or
> - WebKit specific tests (crash tests, tests using internals...) in
> - Spec conformance/interoperability tests in
> : bug 171479 <https://bugs.webkit.org/show_bug.cgi?id=171479>
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev