Skip to content
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

Add testing plan guide to documentation. #4113

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ioannad
Copy link
Contributor

@ioannad ioannad commented Jun 20, 2024

A guide to help with writing testing plans for ECMAScript proposals in stage 2.7.

@ioannad ioannad requested a review from a team as a code owner June 20, 2024 13:31
Copy link
Contributor

@ptomato ptomato left a comment

Choose a reason for hiding this comment

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

Looks like a good first draft to me. Before it's ready for publicizing there are a few things I'd suggest:

  • We should make the document more approachable with a couple of introductory paragraphs, explaining what it is and who it is intended for.
  • We should have a section about diminishing returns and advice on where to draw the line. See, for example, the discussion at Math.sumPrecise testing plan #4054 and in Mike's testing plan guide for WPT.
  • We should have a section on what steps to carry out, concretely. Things like, open a testing plan issue on the test262 repo. (Examples of good existing testing plan issues.) CC the proposal champions (if that is not you yourself). Send a PR to tc39/proposals to link the testing plan issue.

Check what engines test, in case you missed something. Some engine's test locations in their codebase:

- v8 `v8/test/mjsunit/`
- SpiderMonkey: `js/src/tests/non262/`
Copy link
Contributor

Choose a reason for hiding this comment

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

These tests are the ones currently being moved into test262... maybe we should point to https://searchfox.org/mozilla-central/source/js/src/jit-test/tests instead? I don't know if that's the appropriate place to look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants