Re: Using testharness.js for CSS tests

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 UTC