Skip to main content

PluginAssertions

Trait PluginAssertions 

Source
pub trait PluginAssertions {
    // Required methods
    fn assert_state(&self, expected_state: &str);
    fn assert_has_capability(&self, capability: &str);
    fn assert_health_status(&self, expected_status: &str);
}
Expand description

Trait for plugin assertions

Required Methods§

Source

fn assert_state(&self, expected_state: &str)

Assert the plugin is in a specific state

Source

fn assert_has_capability(&self, capability: &str)

Assert the plugin has a specific capability

Source

fn assert_health_status(&self, expected_status: &str)

Assert the plugin’s health status

Implementors§