Skip to content

as-harness

0.6.0 @jtenner

An AssemblyScript testing framework that compiles tests to WebAssembly and runs them through deterministic, replaceable host runtimes.

as-harness

as-harness is a testing framework for AssemblyScript. It compiles tests to WebAssembly and runs them through a shared host contract.

The test model is not tied to one WebAssembly runtime.

What it provides

Why the host owns the plan

The WebAssembly guest describes the test tree. The host builds the execution plan.

This split lets the host enforce dependencies, stable ordering, failure policy, and worker scheduling without putting host-specific behavior into the guest module.

Hints such as inBand, bail, and continueOnFailure remain host-owned planning inputs.

Status

as-harness is still pre-1.0. The current release is 0.6.0.

The main goal is a stable Wasm-first testing contract with replaceable runtimes and predictable execution.