W3C home > Mailing lists > Public > public-css-testsuite@w3.org > November 2011

Re: Using testharness.js for CSS tests

From: Peter Linss <peter.linss@hp.com>
Date: Thu, 24 Nov 2011 21:36:01 -0800
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-Id: <CAA15BCC-A641-48EC-B870-455CC3D62CA7@hp.com>
To: L. David Baron <dbaron@dbaron.org>
On Nov 24, 2011, at 4:54 PM, L. David Baron wrote:

> So testharness.js seems to be the state-of-the-art for writing
> scripted tests at W3C these days.  

Yes, it's the way we'll be doing our scripted tests.

Note that James Graham and I discussed a method for adding metadata to scripted tests at TPAC, I don't know if he's had a chance to integrate that yet. I also expect that work to go through some iterations as I get our tools to be able to extract the metadata.

> I'd like to use it for some new
> scripted tests, but I'm wondering how we should use it within the
> https://hg.csswg.org/test repository.
> 
> (I even seem to recall that somebody (johnjan?) was converting my
> (and Anne's) media queries tests to use it.)

Yes, John is working on that.

> 
> The main needed files seem to be at http://w3c-test.org/resources/
> but I'm not sure if they're in an hg repository somewhere that we
> could (or should) make be a subrepository of the csswg.org tests
> repository.  But they're documented at
> http://www.w3.org/2008/webapps/wiki/Harness .

As near as I can tell the files live in http://dvcs.w3.org/hg/html/ under tests/resources.

I'll talk to James about moving them into their own repository that we can incorporate them as a subrepo.

Peter
Received on Friday, 25 November 2011 05:36:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 November 2011 05:36:48 GMT