pub trait TestFilter: Send + Sync {
// Required methods
fn matches_test(&self, test_name: &str) -> bool;
fn matches_contract(&self, contract_name: &str) -> bool;
fn matches_path(&self, path: &Path) -> bool;
}
Expand description
Test filter.
Required Methods§
Sourcefn matches_test(&self, test_name: &str) -> bool
fn matches_test(&self, test_name: &str) -> bool
Returns whether the test should be included.
Sourcefn matches_contract(&self, contract_name: &str) -> bool
fn matches_contract(&self, contract_name: &str) -> bool
Returns whether the contract should be included.
Sourcefn matches_path(&self, path: &Path) -> bool
fn matches_path(&self, path: &Path) -> bool
Returns a contract with the given path should be included.