Open foolip opened 7 years ago
Looks like ReSpec has testSuiteURI
for this:
https://github.com/w3c/IndexedDB/commit/377b979783857cc6b37b769119cafe5c9af58228
(IndexedDB is now Bikeshed though.)
OK, I have found https://tabatkins.github.io/bikeshed/#metadata-test-suite which takes a URL.
Could that be tweaked to also be able to link to ongoing work?
The Test Suite
metadata is nearly a no-op. All it does is produce linked text in your header.
I'm happy to make it easier to link to wpt, tho. Are those two url forms in your !Tests
example always applicable, with the "dom" part swapped out?
Yes, because the labels in wpt are just the names of the top-level directories, it should be precisely as simple as it seems.
I've now come across one case which wouldn't be that simple in https://github.com/w3c/webappsec-csp/pull/223. However, I think it's probably fine to keep using the syntax I've used there.
It might also be useful to be able to link to more than one label in wpt, e.g., to link to both https://github.com/w3c/web-platform-tests/labels/css-fonts and https://github.com/w3c/web-platform-tests/labels/css-fonts-3.
Though it's also worth noting here that CSS also has nicer ways of viewing its test suites than the directory in wpt, so it's sometimes good to link to additional things, e.g., https://test.csswg.org/suites/css-fonts-3_dev/nightly-unstable/ in addition to the wpt directory.
I think I want to key this off of WPT Path Prefix
now, actually. I can use that data to link straight to
Many WHATWG specs now link to tests in the header:
This is using the following syntax:
Something more like this would be nice:
Possibly with some way to point to a test suite other than web-platform-tests.