Skip to main content

skip_unless_canonical

Function skip_unless_canonical 

Source
pub fn skip_unless_canonical(test: &str) -> bool
Expand description

Guard for tests whose assertions are specific to the canonical engine — e.g. admin-metadata caches maintained by canonical row triggers, or the canonical running-cancel notification. Returns true (with a skip notice) when the run is under another engine, so the test can early-return:

if awa_testing::setup::skip_unless_canonical("my_test") { return; }