holochain_wasm_test_utils 0.3.1

Utilities for Wasm testing for Holochain
docs.rs failed to build holochain_wasm_test_utils-0.3.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: holochain_wasm_test_utils-0.4.0-dev.9

Wasm test utilities

This crate contains:

  • several small crates that compile to Wasm and are used as test values.
  • enum TestWasm which enumerates all of those crates.
  • impl From<TestWasm> for DnaWasm to obtain the compiled Wasm artifacts for those crates.
  • a build.rs file that builds all those crates for compile-time inclusion in the library.

These Wasm crates directly test the host/guest implementation of Holochain without going through an HDK or other convenience interface.

We do this to make sure that it stays reasonably easy to interact with Holochain without using the hdk and holochain_wasmer_* crates.

The tests that run this Wasm generally sit in the ribosome.rs module in core. This is necessary because the Wasm crates depend on certain global functions that core defines and needs to inject.