14 Commits

Author SHA1 Message Date
Ross Sullivan
92d9a94d02
chore: Migrated testsuite to testsuite::prelude 2025-06-25 22:37:24 +09:00
eth3lbert
16a2dbd2ba
refactor(test): make list_availables snapshot-aware 2024-07-14 04:09:34 +08:00
eth3lbert
b43ea97f3b
test: migrate list_availables to snapbox 2024-07-14 04:09:32 +08:00
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
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
Ed Page
76918a0e99 fix(cli): Clarify --test is for targets, not test functions
We already refer to test targets as "test targets" instead of "tests" in
`--test` but not `--tests` or in the error output.  This makes it
uniformly refer to them as "test targets", making it clearer that these
aren't test functions.

Fixes #7864
2023-11-03 15:45:00 -05:00
Ed Page
802cb380ed fix(cli): Be more specific in what is needed 2023-08-31 08:56:16 -05:00
Ed Page
adea3d148e fix(cli): Help people find possible --target values 2023-08-31 08:55:36 -05:00
Ed Page
b87c9323bb refactor(cli): Manually implement missing arg error for --target 2023-08-30 20:42:45 -05:00
Ed Page
801b223135 test(cli): Show existing --target behavior 2023-08-30 20:34:42 -05:00
Weihang Lo
c347745613
test: list availables for clean,tree,update 2020-10-28 02:46:20 +08:00
Weihang Lo
d91be5a36f
test: list availables for rustc,rustdoc,run,pkgid 2020-10-28 02:46:19 +08:00
Weihang Lo
fa522ccec1
fix: more information when -p value is absent 2020-10-27 22:03:54 +08:00
Weihang Lo
4d5a56d7d0
test: suggest available packages 2020-10-26 02:55:15 +08:00