pub enum SuiteInclusionReason {
TestModified {
path: PathBuf,
},
UnitOrPropSweep {
application: ApplicationName,
triggering_modules: Vec<ModuleName>,
},
SameAppCaller {
application: ApplicationName,
module: ModuleName,
},
CrossAppCaller {
library_application: ApplicationName,
module: ModuleName,
},
ConfiguredRule {
rule_name: String,
triggering_path: PathBuf,
},
BehaviourImplementerSweep {
behaviour: ModuleName,
implementer: ModuleName,
},
}Expand description
Why a suite was included in the plan. A suite can appear under multiple reasons when more than one rule fires.
Variants§
TestModified
The suite file itself appears in the diff.
UnitOrPropSweep
Fast unit or property suite swept because its application has modified source and the suite references at least one of the modified modules.
SameAppCaller
Suite is in the same application as a modified module and references that module by name.
CrossAppCaller
Suite is in a different application from a modified library module and references that module by name.
ConfiguredRule
Suite was included by a user-configured rule.
BehaviourImplementerSweep
A modified .erl is itself a behaviour module; this suite
references one of its implementers.
Trait Implementations§
Source§impl Clone for SuiteInclusionReason
impl Clone for SuiteInclusionReason
Source§impl Debug for SuiteInclusionReason
impl Debug for SuiteInclusionReason
Source§impl<'de> Deserialize<'de> for SuiteInclusionReason
impl<'de> Deserialize<'de> for SuiteInclusionReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SuiteInclusionReason
Source§impl PartialEq for SuiteInclusionReason
impl PartialEq for SuiteInclusionReason
Source§impl Serialize for SuiteInclusionReason
impl Serialize for SuiteInclusionReason
impl StructuralPartialEq for SuiteInclusionReason
Auto Trait Implementations§
impl Forget for SuiteInclusionReason
impl Freeze for SuiteInclusionReason
impl Move for SuiteInclusionReason
impl RefUnwindSafe for SuiteInclusionReason
impl Send for SuiteInclusionReason
impl Sync for SuiteInclusionReason
impl Unpin for SuiteInclusionReason
impl UnsafeUnpin for SuiteInclusionReason
impl UnwindSafe for SuiteInclusionReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more