rust/library/test/src
Stuart Cook 9d93fab3a1
Rollup merge of #142807 - sourcefrog:failfast, r=dtolnay
libtest: expose --fail-fast as an unstable command-line option

This exposes the `fail_fast` option added in rust-lang/rust#105153 on the test harness command line, so that workflows that only want to know if any test fails can find out without waiting for everything to run. For example, cargo-mutants just needs to know if any tests fails. It only works with `-Zunstable-options`.

Tracking issue: rust-lang/rust#142859
2025-09-17 14:56:41 +10:00
..
formatters Add new test::print_merged_doctests_times used by rustdoc to display more detailed time information and add new OutputFormatter::write_merged_doctests_times method to handle it 2025-08-04 16:06:56 +02:00
helpers test: add #![warn(unreachable_pub)] 2025-01-20 18:46:29 +01:00
stats test: add #![warn(unreachable_pub)] 2025-01-20 18:46:29 +01:00
term Rollup merge of #136844 - thaliaarchi:const-io-error, r=ChrisDenton 2025-02-17 06:37:37 +01:00
bench.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
cli.rs Rollup merge of #142807 - sourcefrog:failfast, r=dtolnay 2025-09-17 14:56:41 +10:00
console.rs Add new test::print_merged_doctests_times used by rustdoc to display more detailed time information and add new OutputFormatter::write_merged_doctests_times method to handle it 2025-08-04 16:06:56 +02:00
event.rs Do fewer passes and generally be more efficient when filtering tests 2022-10-27 21:34:56 -04:00
lib.rs Add new test::print_merged_doctests_times used by rustdoc to display more detailed time information and add new OutputFormatter::write_merged_doctests_times method to handle it 2025-08-04 16:06:56 +02:00
options.rs test: add #![warn(unreachable_pub)] 2025-01-20 18:46:29 +01:00
stats.rs Fix doc nits 2024-07-26 13:26:33 +01:00
term.rs test: add #![warn(unreachable_pub)] 2025-01-20 18:46:29 +01:00
test_result.rs Remove backticks from ShouldPanic::YesWithMessage's TrFailedMsg 2025-04-28 21:40:29 +02:00
tests.rs Remove backticks from ShouldPanic::YesWithMessage's TrFailedMsg 2025-04-28 21:40:29 +02:00
time.rs test: add #![warn(unreachable_pub)] 2025-01-20 18:46:29 +01:00
types.rs Reduce merged doctest source code size 2024-08-13 20:14:56 +02:00