Skip to content

Ask for web-platform-tests in CONTRIBUTING.md #1767

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 4, 2017
Merged

Conversation

zcorpan
Copy link
Member

@zcorpan zcorpan commented Aug 30, 2017

(This is two commits for easier reviewing; should be squashed when merging.)

Closes #1755.

@frivoal
Copy link
Collaborator

frivoal commented Aug 30, 2017

Someone else than me ( @astearns or @atanassov ?) should review this, but looks good to me.

CONTRIBUTING.md Outdated
[file an issue](https://github.com/w3c/web-platform-tests/issues/new) to follow up later. Add the
`type:untestable` or `type:missing-coverage` label as appropriate.

The pre-CR specifications are currently:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about "The pre-CR specifications with this testing requirement are currently:"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So changed.


For normative changes for any specification in
[CR or later](https://www.w3.org/Style/CSS/current-work) as well as the pre-CR specifications listed
below, a corresponding [web-platform-tests](https://github.com/w3c/web-platform-tests) PR must be
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been asking for a policy like this, so obvious this makes me happy, but I think it's important that there's some leeway here. The "testing is not practical" case will probably come up at least occasionally at CR or later, and if everyone agrees, then this "must" ought not get in the way of progress. I think that if this is downgraded to a "should", then editor's can use their best judgement about when to file issues instead of requiring tests.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way I'm reading it, the 'must' is to have a wpt PR or an explanation/issue for followup. It's still at the editor's discretion, but they must do one or the other.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps I'm reading this too much like a format spec, but I'm not able to parse it that way, "a corresponding PR must be provided" sounds quite final. Of course, it's only with RFC 2119 goggles that changing it to "should" helps. Interested to hear how others read this, and don't mind it if other have a more lenient interpretation.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if the intent is the way @astearns is reading it, then it needs to be reworded to be more clear about the either-or.


For normative changes for any specification in
[CR or later](https://www.w3.org/Style/CSS/current-work) as well as the pre-CR specifications listed
below, a corresponding [web-platform-tests](https://github.com/w3c/web-platform-tests) PR must be
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if the intent is the way @astearns is reading it, then it needs to be reworded to be more clear about the either-or.

CONTRIBUTING.md Outdated
For normative changes for any specification in
[CR or later](https://www.w3.org/Style/CSS/current-work) as well as the pre-CR specifications listed
below, a corresponding [web-platform-tests](https://github.com/w3c/web-platform-tests) PR must be
provided; for other specifications it is highly appreciated. Typically, both PRs will be merged at
Copy link
Collaborator

@fantasai fantasai Aug 31, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“for other specifications it is highly appreciated” I would probably downgrade this a bit to maybe s/highly/often/. I would not have appreciated people submitting tests to CSS Grid in the earlier exploratory stages of the spec: that just means more work for for us to go through the for-sure outdated and possibly entirely useless tests later on--and discourages submissions without tests even in cases where they wouldn't actually be helpful.

(Although, in general, I prefer people filing issues to PRs for normative spec changes anyway.)

The pre-CR specifications with this testing requirement are currently:

* cssom
* cssom-view
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

css-overflow-3 and css-position-3 will probably fall under this list as well, although I haven't looked at them lately, so fine to leave out for now.

@zcorpan
Copy link
Member Author

zcorpan commented Sep 1, 2017

I've tweaked the wording, PTAL.

Copy link
Member

@foolip foolip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New wording looks good to me, thanks @zcorpan!

Copy link
Member

@astearns astearns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zcorpan zcorpan merged commit cbfde91 into master Sep 4, 2017
@zcorpan zcorpan deleted the zcorpan/ask-for-tests branch September 4, 2017 20:43
@syncbot syncbot restored the zcorpan/ask-for-tests branch September 5, 2017 18:03
@plinss plinss deleted the zcorpan/ask-for-tests branch November 7, 2017 22:51
@syncbot syncbot restored the zcorpan/ask-for-tests branch November 7, 2017 23:38
@plinss plinss deleted the zcorpan/ask-for-tests branch November 7, 2017 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants