Open Shyam-Raghuwanshi opened 3 months ago
"how to write test" is a pretty general and broad question, do you have something more specific you'd like to ask? For example one way to test would be to take fn main()
and wrap it up in a helper function and then invoke that in individual tests. Whether or not that solves your use case though I'm not sure.
I have a project similar to this how can I test it ? I am able to run the guest from host but unable to figure out how to test or How to write test
guest/src/lib.rs
host/src/main.rs
Wit files
demo.wit
complex.wit
http-types.wit
inbound-http
sum.wit