pub fn skip(capability: &str, detail: &str)Expand description
Record that a runtime-gated test is skipping for want of capability.
Panics when the capability is required on this platform. The caller still
writes its own return, so the skip stays visible at the call site:
ⓘ
let Some(runtime) = detect() else {
test_capability::skip(capability::CONTAINER, "no runtime on PATH");
return;
};The message is deliberately explicit about why a skip is being escalated: whoever hits it is usually not the person who set the CI variable.