3.9 KiB
3.9 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased
0.6.0 - 2022-11-05
Changed
- Breaking: Updated
clapto version 4 (thanks @msrd0) - Breaking: Bump MSRV to 1.60 (due to the clap update)
Removed
- Breaking: Remove
FromStrimpls forargs::{ColorSetting, FormatSetting}(useclap::ValueEnuminstead).
0.5.2 - 2022-08-14
Added
- Re-add
--nocaptureas a noop argument #18 (thanks @sunshowers)
Fixed
- Link in documentation
0.5.1 - 2022-08-13
Added
Trial::{name, kind, has_ignored_flag, is_test, is_bench}getters
0.5.0 - 2022-08-13
Most parts of this library have been rewritten and the API has changed a lot. You might be better of just reading the new docs instead of this change log. I do think the new API is better in many regards. Apart from an improved API, changes that motivated the rewrite are marked with ⭐.
Changed
- Breaking: bump MSRV to 1.58
- Breaking: Rename
TesttoTrial - Breaking: Rename
run_teststorun - ⭐ Breaking: Make every
Trialhave a runner function instead ofdata+ a global runner function. Thus, the third parameter ofrunis no more. I think this model is more intuitive. - Breaking: Add
Trial::{test, bench}constructor functions, use builder pattern, and make fields private. - Breaking: rename
Args::num_threadstotest_threads - Breaking: make fields of
Conclusionpublic and remove getter methods - Breaking: remove
RunnerEvent. This should not have been public. - ⭐ Tests are now run in main thread when
--test-threads=1is specified - ⭐ Reduce number of indirect dependencies considerably
- Fix
rust-versionfield inCargo.toml(thanks @hellow554) - Fix
--ignoredbehavior - Fix some CLI error messages
Added
- ⭐Panics in test runners are caught and treated as failure
- ⭐ Lots of integration tests (should make any future development of this library way easier)
- Add
must_usemessage forConclusion - Print total execution time at the end of the run
- Allow benchmarks to run in test mode
--include-ignored
Removed
- Breaking: remove unsupported CLI options. They were ignored anyway, but the CLI would accept them.
0.4.1 - 2022-06-07
- Add
rust = "1.56"toCargo.toml, stating the existing MSRV. - Update
crossbeam-channelto deduplicate some indirect dependencies.
0.4.0 - 2022-05-13
- Breaking: Update to Rust 2021, bumping MSRV to 1.56
- Fix
--list --ignoredbehavior
0.3.0 - 2020-06-28
Added
- Add support for running tests in parallel #4
- Add
Arguments::from_iter#5
0.2.0 - 2019-10-02
Changed
- Upgrade dependencies #3
- Flush stdout after printing test name 4a36b3318b69df233b0db7d1af3caf276e6bb070
Fixed
- Fix overflow bug when calculating number of passed tests 264fe6f8a986ab0c02f4a85e64e42ee17596923c
0.1.0 - 2018-07-23
Added
- Everything.