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.
Cranpose Test Tools
cranpose-testing provides public test helpers for Cranpose compositions and app behavior. ComposeTestRule composes UI in memory; semantic queries and accessibility audits inspect the current tree. The robot API drives input against a headless or desktop app shell.
Test a composition
Add cranpose-testing as a development dependency with cargo add cranpose-testing --dev. Use ComposeTestRule for layout, state, semantics, and accessibility checks in an in-memory composition:
use *;
use ComposeTestRule;
let mut rule = new;
rule.set_content.expect;
let screen = rule
.placed_semantics
.expect
.expect;
assert!;
placed_semantics returns labels and bounds for a chosen viewport. assert_accessible checks the placed tree, and audit_accessibility returns structured issues for custom summaries.
Run robot tests
The desktop-robot feature enables helper queries and assertions. The app test target also selects cranpose/robot, desktop, and a renderer such as renderer-wgpu. A robot runner starts AppLauncher with with_headless(true) and supplies a with_test_driver closure. The driver waits for app work, queries semantics, sends input, and exits the app.
Linux desktop robot runs need a display server; CI can run the test through xvfb-run. Headless composition tests use an in-memory applier and run on the CPU. The repository's run_robot_test.sh runs repository robot scenarios.