web-platform-tests / rfcs

web-platform-tests RFCs
74 stars 63 forks source link

Guidelines for associating tests with features #194

Open foolip opened 1 month ago

foolip commented 1 month ago

In https://github.com/web-platform-tests/rfcs/blob/master/rfcs/web_features.md we introduced the ability to associate tests with features using WEB_FEATURES.yml files, and showing them on wpt.fyi like this:

There are now over 150 features mapped using WEB_FEATURES.yml files. To allow more people to contribute to this, it's clear that some guidelines will be needed.

Questions and tentative answers:

Beyond this, some form of test suite review by feature experts would be useful, but I'll file a separate issue about that when I've thought through which repo it belongs in.

cc @jcscottiii

foolip commented 1 month ago

Thinking about where documentation for this would be discoverable, at minimum it should show up in https://web-platform-tests.org/search.html?q=web_features. It doesn't fit cleanly in any existing section in https://web-platform-tests.org/#table-of-contents, but under "Writing Tests" probably makes the most sense.