Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Document test updates associated with amendments#2910

Merged
jan-ivar merged 18 commits intomainfromamendments-test-annotations
Mar 21, 2024

Conversation

dontcallmedom
Copy link
Member

@dontcallmedomdontcallmedom commentedNov 15, 2023
edited by jan-ivar
Loading

This is a first pass at associating amendments to the relevant test cases and updates made to WPT as part of the amendment documenting process.

I have not documented associated test updates for the following PRs:#2758#2759#2794#2797#2801#2847#2853#2861 - most likely because no updates were brought, but it could be that I missed them too.

It would be useful if someone could review that the annotations made inamendments.json are correct. Namely that:

Merging this PR will also require that any new amendment documents its test status (either as "already-tested", "not-testable", or as an array of pointers to WPT pull requests).


Preview |Diff

@henbos
Copy link
Contributor

There are WebIDL validation steps failing, can you take a look@dontcallmedom ?

@dontcallmedom
Copy link
MemberAuthor

I did - I think they're bogus (since this PR doesn't touch the document at all), but in any case, I can spend more time on them once there is approval at least with the principles and the data :)

@henbos
Copy link
Contributor

Ack,@jan-ivar to take a closer look, but free free to merge if he is happy about doing so

@henbos
Copy link
Contributor

PTAL@jan-ivar :)

@dontcallmedomdontcallmedom changed the base branch frombinarytype-setter tomainFebruary 26, 2024 12:59
}
const validTestUpdates = ["already-tested", "not-testable"];
if (typeof prAmendment.testUpdates === "string" && !validTestUpdates.includes(prAmendment.testUpdates)) {
core.setFailed(`Pull request ${context.issue.number} declares an invalid test status in its amendment testUpdates field`);
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it mandate to have the test at the time we add the ammendment?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

for spec changes that imply a change in the test suite, it requires a link to a WPT pull request at the moment, indeed (but that's distinct from it being implemented anywhere); this could be relaxed, but personally, I think there is real value in requiring an update to the test suite before merging a test-impacting amendment.

jan-ivar reacted with thumbs up emoji
Copy link
Contributor

Choose a reason for hiding this comment

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

I understand this but, without an implementation, those tests will be low quality probably, might break and so on.
At least we should flag these tests or make easy to manage/understand they are still experimental.

@youennf
Copy link
Contributor

If the tool requires to put a test status in the amendment, we might need a 'to-be-added-shortly' state, as implementation might not be yet available.

Co-authored-by: youennf <youennf@users.noreply.github.com>
Copy link
Member

@jan-ivarjan-ivar left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks! ❤️

@@ -169,6 +234,12 @@
{
"description": "Add RTCIceCandidate.relayProtocol",
"pr": 2763,
"tests": [
"idlharness.https.window.js"
Copy link
Member

Choose a reason for hiding this comment

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

Just a note: idlharness.https.window.js tests thatrelayProtocol exists (1 implementation), but no WPT tests exist to verify it returns anything other thannull, which might be difficult to test without a TURN server.

Comment on lines 275 to +278
"description": "Add RTCIceCandidate.url",
"pr": 2773,
"tests": [
"idlharness.https.window.js"
Copy link
Member

Choose a reason for hiding this comment

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

Just a note: idlharness.https.window.js tests thaturl exists (1 implementation), but no WPT test exists to verify it returns anything other thannull, which might be difficult to test without a TURN server.

Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
@jan-ivarjan-ivar merged commit7fddf0a intomainMar 21, 2024
3 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@youennfyouennfyouennf approved these changes

@jan-ivarjan-ivarjan-ivar approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

7 participants
@dontcallmedom@henbos@youennf@jan-ivar@Evgenii1025@sam-vi@fippo

[8]ページ先頭

©2009-2025 Movatter.jp