.. | ||
go.mod | ||
go.sum | ||
logging.go | ||
mem_mgr.go | ||
README.md | ||
test_host.go |
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:
- Compile module e.g. with tinygo to
*.wasm
file - Create a
integration.Host
(withintegration.NewHost(...)
function) - Specify the scenario (category, type, ...)
- Execute the module
A very basic example can be found in the hello_world_go
example