File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 2727//! fn main() {
2828//! }
2929//! ```
30+ //!
31+ //! # Known limitations and differences to the official test harness
32+ //!
33+ //! `libtest2` aims to be fully compatible with stable, non-deprecated parts of `libtest`
34+ //! but there are differences for now.
35+ //!
36+ //! Some of the notable differences:
37+ //!
38+ //! - Output capture and `--no-capture`: simply not supported. The official
39+ //! `libtest` uses internal `std` functions to temporarily redirect output.
40+ //! `libtest` cannot use those, see also [libtest2#12](https://github.com/assert-rs/libtest2/issues/12)
41+ //! - `--format=json` (unstable): our schema is part of an experiment to see what should be
42+ //! stabilized for `libtest`, see also [libtest2#42](https://github.com/assert-rs/libtest2/issues/42)
3043
3144#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
3245//#![warn(clippy::print_stderr)]
You can’t perform that action at this time.
0 commit comments