Ran
|
Files
7
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Auto merge of #27 - MrJohz:master, r=killercup Initial attempt to add integration tests for cargo-add N.B: Adds a new dev-dependency on the rust-lang [`tempdir`](https://crates.io/crates/tempdir) crate. Currently it just does the things that the old [shell tests](https://github.com/killercup/cargo-edit/blob/4660a5578/tests/cargo_add.sh) did + a couple of other minor tests. Basically, as far as issue #17 goes, it checks the manifest is updated properly and nothing else. All the tests here pass, at least on my machine! :P I'm going to have a go at the error messages and TOML structure tests next. I can either make a new pull request with those in, or add them to this pull request - whichever is easiest for you.
247 of 313 relevant lines covered (78.91%)
0.79 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|