WebAssembly / WebAssembly/spec

New testsuite organization

Open
#1,950 17 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

Hello 👋

I’m following up here as suggested in this conversation.

Before the PR landed, we didn’t notice that a new testsuite folder structure was introduced.
As runtime developers, we now face a challenge: it’s much harder to implement proposals one at a time.

I’m looking for guidance on how to proceed and what to expect going forward.

In chicory, we generate unit tests based on .wast files.
Previously, we relied on the folder structure to include only the proposals implemented at each stage.
Now that everything is under wasm-3.0, we either need a way to separate files by proposal or provide at least a minimal implementation of all proposals opcodes upfront just to get parsing to pass.

I also noticed that in some cases (e.g. binary.wast and binary0.wast) files have been duplicated.
Would it be an acceptable middle ground to keep proposals separated at the file level and use more descriptive names, such as binary_eh.wast, to indicate which proposal they cover?

Thanks!

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

Start with the linked conversation in PR 129 and compare the wasm-3.0 folder structure with the duplicated binary.wast and binary0.wast files. Determine whether proposal-level separation or descriptive filenames is acceptable for Chicory’s .wast-based generation; done means documented guidance or an agreed testsuite organization change.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.