Runs wasm guest programs through meshd's wasm executor on a test mailbox: load, launch, publish tickets, read views, unload (for tests)
$ sexc add @ajax/mesh-exec-wasm-testkit- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 04:27v/# 1 version
- drwxr-xr-x-Oct 27 04:27files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 04:27 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/mesh-exec-wasm ^0.1.0, @ajax/mesh-abi-program-table ^0.1.0, @ajax/mesh-abi-control-block ^0.1.0, @ajax/mesh-abi-ring ^0.1.0, @ajax/mesh-abi-view-heap ^0.1.0, @ajax/mesh-abi-ext ^0.1.0, @ajax/mesh-abi-base ^0.1.0, @ajax/mesh-log ^0.1.0, @ajax/mesh-check ^0.1.0, @ajax/mesh-abi-pipe-table ^0.1.0, @ajax/mesh-abi-ops ^0.1.0
- dependents
- none yet
- keywords
- mesh alphaos wasm testing
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-exec-wasm-testkit
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/mesh-exec-wasm-testkit 2 3Runs wasm guest programs through the real wasm executor (`@ajax/mesh-exec-wasm`) on a test mailbox, with 4the driver's part written out minimally: a catalog dir (program.toml and `<name>.wasm`), the program-table 5entry (name, state, a view in the view heap, nodes, peer mode, `reads`, windows, param, a pipe inbox), the 6launch, tickets published on the slot's ring, requests, pipe connections, and the shutdown. For tests; it 7is not meshd. `mesh_kit_artifact` finds a built guest module beside the running test binary.