macro_rules! skip_if { ($config:expr, $condition:expr, $reason:expr) => { ... }; (private_tests) => { ... }; }
Conditionally skips a test based on a condition.
// Version 1: With explicit config and condition skip_if!(config, config.skip_private_tests, "Private tests disabled"); // Version 2: Simplified version for private tests skip_if!(private_tests);