#[test]Expand description
Mark a function that builds a Case as a Day
test (docs/testing.md): the function stays as written, and a link-time registry entry is
added beside it so day test and the mock harness find it. The test is named after the
function, with hyphens for underscores: button_status runs as button-status.
ⓘ
#[day::test]
fn button_status() -> Case { Case::new().proves(kinds::BUTTON).page(..).drive(..) }The registry lives in day-core; a crate below day names it: #[day_macros::test(day_core)].
Native targets use linkme; WASM uses inventory and a compiler-exported descriptor.
day build records these exports before linking and validates discovery before tests run.
§Panics
Panics if the generated registration does not parse as Rust, which would be a bug in this macro.