Testing harness for Presentar applications.
Zero external dependencies. Pure Rust + WASM only.
Proc Macros
Use #[presentar_test] for widget and integration tests:
use presentar_test::presentar_test;
#[presentar_test]
fn test_button() {
let harness = Harness::new(Button::new("Click"));
harness.assert_exists("Button");
}
#[presentar_test(timeout = 5000, fixture = "app.tar")]
fn test_with_fixture() {
// Fixture is loaded automatically
}