rust/library/test/src
Jonas Schievink b28a1b2951
Rollup merge of #80053 - gilescope:include-ignore, r=m-ou-se
stabilise `cargo test -- --include-ignored`

stabilise `cargo test -- --include-ignored`

On stable there's no way to run ignored tests as well as the normal tests.

An example use case where stabilising this would help:
Exercism has some initial tests and then some additional ignored tests that people run currently with --ignore but currently they can't run all the tests in one go without being on nightly. It would be a little more ergonomic if this flag was stablilised.

( Fixes  #65770 )

I built with ./x.py build -i library/test - but as libtest is a dylib is there an easy way to invoke it manually to check it's working as expected? (I've updated the automated tests.)
2021-01-31 01:47:22 +01:00
..
formatters libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
helpers Remove io::LocalOutput and use Arc<Mutex<dyn>> for local streams. 2020-11-10 21:57:05 +01:00
stats mv std libs to library/ 2020-07-27 19:51:13 -05:00
bench.rs Merge set_panic and set_print into set_output_capture. 2020-11-10 21:58:13 +01:00
cli.rs stabilise --include-ignored 2020-12-15 12:59:31 +00:00
console.rs libtest: Print the total time taken to execute a test suite 2020-11-27 17:53:59 +01:00
event.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
lib.rs libtest: Store pending timeouts in a deque 2021-01-25 12:21:33 -08:00
options.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
stats.rs Fix some clippy issues 2020-10-01 01:34:38 -04:00
test_result.rs Print failure message on all tests that should panic, but don't 2021-01-10 01:18:23 -06:00
tests.rs Rollup merge of #80053 - gilescope:include-ignore, r=m-ou-se 2021-01-31 01:47:22 +01:00
time.rs Dogfood 'str_split_once()` in the std lib 2020-12-07 14:24:05 -07:00
types.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00