Ran
|
Files
7
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/killercup/cargo-edit/commit/<a class=hub.com/killercup/cargo-edit/commit/4443aebafbc992956654f9f922bfc91f88f19832">4443aebaf<a href="https://github.com/killercup/cargo-edit/commit/4443aebafbc992956654f9f922bfc91f88f19832">">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/</a><a class="double-link" href="https://github.com/killercup/cargo-edit/commit/<a class="double-link" href="https://github.com/killercup/cargo-edit/commit/4660a5578a243cf36057e7e1eb3976bb8e885def">4660a5578</a>">4660a5578</a><a href="https://github.com/killercup/cargo-edit/commit/4443aebafbc992956654f9f922bfc91f88f19832">/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.
248 of 314 relevant lines covered (78.98%)
0.79 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|