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

pub struct Config {
    pub manifest: PathBuf,
    pub run_ignored: bool,
    pub ignore_tests: bool,
    pub ignore_panics: bool,
    pub skip_clean: bool,
    pub verbose: bool,
    pub count: bool,
    pub line_coverage: bool,
    pub branch_coverage: bool,
    pub generate: Vec<OutputFile>,
    pub coveralls: Option<String>,
    pub ci_tool: Option<CiService>,
    pub report_uri: Option<String>,
    pub forward_signals: bool,
    pub all_features: bool,
    pub no_default_features: bool,
    pub features: Vec<String>,
    pub all: bool,
    pub packages: Vec<String>,
    pub exclude: Vec<String>,
    pub varargs: Vec<String>,
    pub test_timeout: Duration,
    // some fields omitted
}

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

Ignore panic macros in code.

Flag to skip the clean step when preparing the target project

Verbose flag for printing information to the user

Flag to count hits in coverage

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.

Only valid if coveralls option is set. If coveralls option is set, as well as report_uri, then the report will be sent to this endpoint instead.

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

Include all available features in target build

Do not include default features in target build

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.

Duration to wait before a timeout occurs

Methods

impl Config
[src]

Strips the directory the project manifest is in from the path. Provides a nicer path for printing to the user.

Trait Implementations

impl<'a> From<&'a ArgMatches<'a>> for Config
[src]

impl Default for Config
[src]

impl Debug for Config
[src]

Auto Trait Implementations

impl Send for Config

impl Sync for Config

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<E> SpecializationError for E
[src]

impl<T> Erased for T
[src]

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T> Erased for T