presentar-test-macros 0.1.2

Proc macros for Presentar testing framework
Documentation

Proc macros for Presentar testing framework.

Provides the #[presentar_test] attribute macro for widget and integration tests.

Example

use presentar_test_macros::presentar_test;

#[presentar_test]
fn test_button_renders() {
    let button = Button::new("Click me");
    let harness = Harness::new(button);
    harness.assert_exists("Button");
}

#[presentar_test(fixture = "dashboard.tar")]
fn test_dashboard_layout() {
    // Fixture is automatically loaded
    harness.assert_exists("[data-testid='metric-card']");
}