wasi-module-sdk-go/integration/README.md

13 lines
No EOL
521 B
Markdown

# Integration module
The integration module is meant as a helper to blackbox test a WASI module.
It's a shortcut to instantiate and execute a module in the context of buildr.
The workflow basically looks like this:
1. Compile module e.g. with tinygo to `*.wasm` file
1. Create a `integration.Host` (with `integration.NewHost(...)` function)
1. Specify the scenario (category, type, ...)
1. Execute the module
A very basic example can be found in the [`hello_world_go` example](../examples/hello_world_go/main_test.go)