pub struct TestGenConfig {
pub unit_tests_per_function: usize,
pub property_tests_per_function: usize,
pub property_test_cases: usize,
pub generate_doc_tests: bool,
pub generate_mutation_config: bool,
pub behavior_equivalence_tests: bool,
}Expand description
Configuration for test generation.
Fields§
§unit_tests_per_function: usizeNumber of unit tests to generate per function (default: 5)
property_tests_per_function: usizeNumber of property tests to generate per function (default: 5)
property_test_cases: usizeNumber of test cases for each property test (default: 1000)
generate_doc_tests: boolWhether to generate doc tests (default: true)
generate_mutation_config: boolWhether to generate mutation test configuration (default: true)
behavior_equivalence_tests: boolWhether to generate behavior equivalence tests (default: true if C available)
Trait Implementations§
Source§impl Clone for TestGenConfig
impl Clone for TestGenConfig
Source§fn clone(&self) -> TestGenConfig
fn clone(&self) -> TestGenConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestGenConfig
impl Debug for TestGenConfig
Source§impl Default for TestGenConfig
impl Default for TestGenConfig
Source§impl PartialEq for TestGenConfig
impl PartialEq for TestGenConfig
impl Eq for TestGenConfig
impl StructuralPartialEq for TestGenConfig
Auto Trait Implementations§
impl Freeze for TestGenConfig
impl RefUnwindSafe for TestGenConfig
impl Send for TestGenConfig
impl Sync for TestGenConfig
impl Unpin for TestGenConfig
impl UnwindSafe for TestGenConfig
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