Struct cargo_tarpaulin::config::Config [] [src]

pub struct Config {
    pub manifest: PathBuf,
    pub run_ignored: bool,
    pub ignore_tests: bool,
    pub skip_clean: bool,
    pub verbose: bool,
    pub no_count: bool,
    pub line_coverage: bool,
    pub branch_coverage: bool,
    pub generate: Vec<OutputFile>,
    pub coveralls: Option<String>,
    pub ci_tool: Option<CiService>,
    pub forward_signals: bool,
    pub features: Vec<String>,
    pub all: bool,
    pub packages: Vec<String>,
    pub exclude: Vec<String>,
    pub varargs: Vec<String>,
}

Specifies the current configuration tarpaulin is using.

Fields

Path to the projects cargo manifest

Flag to also run tests with the ignored attribute

Flag to ignore test functions in coverage statistics

Flag to skip the clean step when preparing the target project

Verbose flag for printing information to the user

Flag to disable counting line hits in line coverage mode

Flag specifying to run line coverage (default)

Flag specifying to run branch coverage

Output files to generate

Key relating to coveralls service or repo

Enum representing CI tool used.

Forward unexpected signals back to the tracee. Used for tests which rely on signals to work.

Features to include in the target project build

Build all packages in the workspace

Packages to include when building the target project

Packages to exclude from testing

Varargs to be forwarded to the test executables.

Methods

impl Config
[src]

[src]

Create configuration from clap ArgMatches.

[src]

Determine whether to send data to coveralls

Trait Implementations

impl Debug for Config
[src]

[src]

Formats the value using the given formatter.

impl Default for Config
[src]

[src]

Returns the "default value" for a type. Read more