toddstack-frontend-engine 0.1.0

App-agnostic Elm-style frontend core: update(model, msg) -> effects, an NDJSON bridge, dirty-key views, introspection, and a headless test harness. Runs as wasm in a worker or through UniFFI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Headless harness: a fake world (clock, timers, store, seeded random, scripted HTTP), a
//! session that answers a bridge's effects against it, a JSON-lines scenario runner with
//! snapshots, and an NDJSON REPL. Test and CLI use only (reads fixtures from disk).

mod matching;
mod repl;
mod scenario;
mod session;
mod world;

pub use matching::{exact_diff, partial_diff};
pub use repl::run as run_repl;
pub use scenario::{Failure, Options, run_file};
pub use session::{Answerer, Factory, HttpHandler, HttpResponse, Session, factory};
pub use world::{Script, World};