[−][src]Struct cargo_tarpaulin::config::Config
Specifies the current configuration tarpaulin is using.
Fields
manifest: PathBuf
Path to the projects cargo manifest
run_ignored: bool
Flag to also run tests with the ignored attribute
ignore_tests: bool
Flag to ignore test functions in coverage statistics
ignore_panics: bool
Ignore panic macros in code.
skip_clean: bool
Flag to skip the clean step when preparing the target project
verbose: bool
Verbose flag for printing information to the user
count: bool
Flag to count hits in coverage
line_coverage: bool
Flag specifying to run line coverage (default)
branch_coverage: bool
Flag specifying to run branch coverage
generate: Vec<OutputFile>
Output files to generate
coveralls: Option<String>
Key relating to coveralls service or repo
ci_tool: Option<CiService>
Enum representing CI tool used.
report_uri: Option<String>
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_signals: bool
Forward unexpected signals back to the tracee. Used for tests which rely on signals to work.
all_features: bool
Include all available features in target build
no_default_features: bool
Do not include default features in target build
features: Vec<String>
Features to include in the target project build
all: bool
Build all packages in the workspace
packages: Vec<String>
Packages to include when building the target project
exclude: Vec<String>
Packages to exclude from testing
varargs: Vec<String>
Varargs to be forwarded to the test executables.
test_timeout: Duration
Duration to wait before a timeout occurs
Methods
impl Config
[src]
impl Config
pub fn is_coveralls(&self) -> bool
[src]
pub fn is_coveralls(&self) -> bool
pub fn exclude_path(&self, path: &Path) -> bool
[src]
pub fn exclude_path(&self, path: &Path) -> bool
pub fn strip_project_path(&self, path: &Path) -> PathBuf
[src]
pub fn strip_project_path(&self, path: &Path) -> PathBuf
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<'a> From<&'a ArgMatches<'a>> for Config
fn from(args: &'a ArgMatches<'a>) -> Self
[src]
fn from(args: &'a ArgMatches<'a>) -> Self
impl Default for Config
[src]
impl Default for Config
impl Debug for Config
[src]
impl Debug for Config
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> Erased for T
impl<T> Erased for T
impl<E> SpecializationError for E
[src]
impl<E> SpecializationError for E
impl<T> Erased for T
[src]
impl<T> Erased for T
impl<T> Send for T where
T: ?Sized,
[src]
impl<T> Send for T where
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
impl<T> Sync for T where
T: ?Sized,
impl<T> Erased for T
impl<T> Erased for T