Attribute Macrosยง
- test
- Replaces
#[test]to add Tesults reporting. Timing, pass/fail, and panic reason are captured automatically. Usetesults_test::description(),tesults_test::custom(),tesults_test::step(), andtesults_test::file()inside the test body for enhanced reporting.