Skip to main content

cargo_list

Function cargo_list 

Source
pub fn cargo_list(
    argv: &[String],
    pkg: &str,
    kind: &(String, String),
) -> (Vec<String>, Option<Vec<String>>)
Expand description

The listing of one target as the cargo test check would run it: its package and feature options and its test filters kept, the target selected, --list added. The second argv lists the ignored tests (subtracted), unless the check runs them too.