Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude tests directory #25

Open
AlbanMinassian opened this issue Sep 5, 2018 · 0 comments
Open

exclude tests directory #25

AlbanMinassian opened this issue Sep 5, 2018 · 0 comments

Comments

@AlbanMinassian
Copy link

How exclude coverage in /tests directory when i have this

src/lib.rs:

pub fn add_two(a: i32) -> i32 {
    internal_adder(a, 2)
}

fn internal_adder(a: i32, b: i32) -> i32 {
    a + b
}

tests/ integration_test.rs:

extern crate adder;

#[test]
fn it_adds_two() {
    assert_eq!(4, adder::add_two(2));
}

Thanks
Ami44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant