I'm creating a wasm component that implements an in memory vfs and exports wasi:filesystem/types and wasi:filesystem/preopens. Any ideas / references for test suites to exercise the component's filesystem implementation?
I'm assuming you've already seen https://github.com/bytecodealliance/WASI-Virt ?
https://github.com/bytecodealliance/WASI-Virt/blob/main/tests/cases/fs-file-read.toml
https://github.com/bytecodealliance/WASI-Virt/blob/main/tests/components/file-read/src/lib.rs
Also excellent work by Yuta that is under ruby.wasm:
https://github.com/kateinoigakukun/wasi-vfs
Last updated: Dec 06 2025 at 06:05 UTC