pub enum MutationRunner {
Auto,
Vitest,
NodeTest,
BunTest,
}Expand description
The test runner of fallow mutation.
Variants§
Auto
Detect the runner from the project: the vitest dependency, the
test module that the test files import, a Bun file at the root, or a
node --test script.
Vitest
Vitest 4.1 to 5 from the project node_modules.
NodeTest
node:test of Node.js 22.18 or later. Each test file runs in its own
Node process.
BunTest
bun test of Bun 1.4 or later. Each test file runs in its own Bun
process.
Trait Implementations§
Source§impl Clone for MutationRunner
impl Clone for MutationRunner
impl Copy for MutationRunner
Source§impl Debug for MutationRunner
impl Debug for MutationRunner
Source§impl Default for MutationRunner
impl Default for MutationRunner
Source§impl<'de> Deserialize<'de> for MutationRunner
impl<'de> Deserialize<'de> for MutationRunner
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 MutationRunner
Source§impl JsonSchema for MutationRunner
impl JsonSchema for MutationRunner
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MutationRunner
impl PartialEq for MutationRunner
Source§impl Serialize for MutationRunner
impl Serialize for MutationRunner
impl StructuralPartialEq for MutationRunner
Auto Trait Implementations§
impl Freeze for MutationRunner
impl RefUnwindSafe for MutationRunner
impl Send for MutationRunner
impl Sync for MutationRunner
impl Unpin for MutationRunner
impl UnsafeUnpin for MutationRunner
impl UnwindSafe for MutationRunner
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.