10 Commits

Author SHA1 Message Date
Ed Page
5b9799c6f4 refactor: Migrate from extern crate to test-support prelude
We now include the prelude in so many places, this simplifies how we can
present how `cargo-test-support` works.

Yes, this included some `use` clean ups but its already painful enough
walking through every test file, I didn't want to do it twice.
2024-07-12 15:57:00 -05:00
eth3lbert
3308d308a2
test: migrate tree_graph_features to snapbox 2024-06-18 23:03:00 +08:00
Ed Page
dc5ac62cab fix(test): Deprecate non-snapbox assertions
While this is noisy and hides other deprecations, I figured deprecations would
make it easier for people to discover what tasks remain and allow us to
divide and conquer this work rather than doing a heroic PR.
In theory, this will be short lived and we'll go back to seeing
deprecations in our tests.
2024-06-10 10:20:52 -05:00
Maybe Waffle
3d74ad8e3c Do not ignore --features when --all-features is present
This allows to specify dependency features when using `--all-features`,
for example:
```shell
$ cargo run --package a --example example --all-features --features="tracing/log"
```
2022-01-28 02:49:42 +03:00
Eric Huss
7c403447bd Switch --invert to take the package name as an argument. 2020-04-03 19:52:21 -07:00
Eric Huss
96ff434cb9 Rename --dep-kinds to --edges and fold in --graph-features. 2020-04-03 19:16:39 -07:00
Eric Huss
ec5e297b70 Change --no-filter-targets to --target=all. 2020-04-02 12:20:55 -07:00
Eric Huss
6868215982 Don't show (*) deduplicate if a node doesn't have any dependencies to show. 2020-04-02 11:25:20 -07:00
Eric Huss
9dc56c6280 Deduplicate nodes across roots. 2020-04-02 11:09:06 -07:00
Eric Huss
96a393719b Add cargo tree command. 2020-03-31 15:14:47 -07:00