WebAssembly / WebAssembly/spec

[test] Spec tests and wpt tests are out of sync

Open
#1,421 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
3.5k
Forks
539
Avg merge
2d 1h
Merged PRs (30d)
13

Description

Both the spec tests and the wpt tests contain all the js-api tests. It happens regularly though that tests in one of the sources get added or modified and not in the other. For example, right now the test js-api/interface.any.js has been updated in wpt but not in the spec repository.

Is there a way how we can get rid of one of the sources, or keep them in sync?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the spec repository's js-api tests with the corresponding WPT tests, starting with js-api/interface.any.js and the issue's example of divergent updates. Determine whether one source can be removed or an automated synchronization approach is feasible; done means the two test sources no longer drift without detection or duplication.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
testing-qa
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.