Struct sqlness::Config

source ·
pub struct Config {
    pub case_dir: String,
    pub test_case_extension: String,
    pub output_result_extension: String,
    pub expect_result_extension: String,
    pub interceptor_prefix: String,
    pub env_config_file: String,
    pub fail_fast: bool,
    pub test_filter: String,
}
Expand description

Configurations of Runner.

Fields§

§case_dir: String§test_case_extension: String

Default value: sql

§output_result_extension: String

Default value: output

§expect_result_extension: String

Default value: result

§interceptor_prefix: String

Default value: -- SQLNESS

§env_config_file: String

Default value: config.toml

§fail_fast: bool

Fail this run as soon as one case fails if true

§test_filter: String

If specified, only run cases containing this string in their names.

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.