Do we have a well-defined way already to test libraries using cargo-component
? Or maybe even an example in a library somewhere?
I was just running inventory of what we need to patch in the Rust ecosystem to properly support WASI 0.2 everywhere, and testing definitely is a big part of that.
I guess this is the best example I've been able to find so far: https://github.com/rust-random/getrandom/blob/10f59f6a6403b57070e0100ab5041f0cfe2fdb0e/.github/workflows/tests.yml#L293-L310
I've desperately been wanting to do some mocks that could be customized and composed in. But I know testing and debugging is one of those high priority things we want to improve as a community
Oh neat, I didn't realize we had this repo! https://github.com/bytecodealliance/actions
Last updated: Nov 25 2024 at 19:03 UTC