Skip to content

Upstream Wasmtime's async test suite #571

@yoshuawuyts

Description

@yoshuawuyts

This issue is a sibling of WebAssembly/wasi-testsuite#181. Wasmtime currently has its own set of component model async tests written in Rust. With an eye on portability, we should upstream these tests from Wasmtime into the component model repo. I've ported a first test in #569, but we should make it a goal to eventually port all tests. If done right, runtimes like Jco would eventually be able to drop their dependence on Wasmtime's test suite for the component model, and instead be able to directly test against the component model repo. Thanks!

Tasks

These are all the component model async test programs in Wasmtime, grouped by scenario. There are a current total of 65 tests. Each test refers to a specific test case, which itself may be composed of one or more test programs interacting with one another. When translating that to WAST, it should result in a single .wast file which captures both the scenario and test programs.

backpressure

borrowing

error_context

post_return

read_resource_stream

round_trip

round_trip_direct

round_trip_many

streams

transmit

unit_stream

yield

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions