wasi-module-sdk-go/integration/README.md
2023-05-08 15:21:31 +02:00

521 B

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
  2. Create a integration.Host (with integration.NewHost(...) function)
  3. Specify the scenario (category, type, ...)
  4. Execute the module

A very basic example can be found in the hello_world_go example