wasmerio / wasmer

🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
https://wasmer.io
MIT License
18.52k stars 793 forks source link

Unify WASIX and WASI tests under one framework #4771

Open linear[bot] opened 3 months ago

linear[bot] commented 3 months ago

Once we have five or more tests under tests/wasix , we should analyze the requirements for these kinds of tests with the goal of proposing a testing framework that can encompass both WASI(wasi-fyi) and WASIX tests.

yagehu commented 3 months ago

Just curious. Is there a reason wasi-fyi does not use Cargo? It would make calling raw WASI functions easier, for example using the wasi crate.

maminrayej commented 3 months ago

The wasi-fyi test suite is ported from here. We merely followed and adopted the framework. This issue is precisely for planning out a framework flexible enough for testing both WASI and WASIX. So, I'd be happy to hear your thoughts about what things should be provided for each test to make writing tests easier.

maminrayej commented 3 months ago

Once #4780 reaches a certain maturity, we will have a good picture of the requirements for testing WASIX.