1# Changelog 2All notable changes to this project will be documented in this file. 3 4The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) 5and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). 6 7## [Unreleased] 8 9## [0.6.0] - 2022-11-05 10### Changed 11- **Breaking**: Updated `clap` to version 4 (thanks @msrd0) 12- **Breaking**: Bump MSRV to 1.60 (due to the clap update) 13 14### Removed 15- **Breaking**: Remove `FromStr` impls for `args::{ColorSetting, FormatSetting}` (use `clap::ValueEnum` instead). 16 17## [0.5.2] - 2022-08-14 18### Added 19- Re-add `--nocapture` as a noop argument [#18](https://github.com/LukasKalbertodt/libtest-mimic/pull/18) (thanks @sunshowers) 20 21### Fixed 22- Link in documentation 23 24## [0.5.1] - 2022-08-13 25### Added 26- `Trial::{name, kind, has_ignored_flag, is_test, is_bench}` getters 27 28## [0.5.0] - 2022-08-13 29 30Most parts of this library have been rewritten and the API has changed a lot. 31You might be better of just reading the new docs instead of this change log. 32I do think the new API is better in many regards. 33Apart from an improved API, changes that motivated the rewrite are marked with ⭐. 34 35### Changed 36- **Breaking**: bump MSRV to 1.58 37- **Breaking**: Rename `Test` to `Trial` 38- **Breaking**: Rename `run_tests` to `run` 39- ⭐ **Breaking**: Make every `Trial` have a runner function instead of `data` + a 40 global runner function. Thus, the third parameter of `run` is no more. I think 41 this model is more intuitive. 42- **Breaking**: Add `Trial::{test, bench}` constructor functions, use builder 43 pattern, and make fields private. 44- **Breaking**: rename `Args::num_threads` to `test_threads` 45- **Breaking**: make fields of `Conclusion` public and remove getter methods 46- **Breaking**: remove `RunnerEvent`. This should not have been public. 47- ⭐ Tests are now run in main thread when `--test-threads=1` is specified 48- ⭐ Reduce number of indirect dependencies considerably 49- Fix `rust-version` field in `Cargo.toml` (thanks @hellow554) 50- Fix `--ignored` behavior 51- Fix some CLI error messages 52 53### Added 54- ⭐Panics in test runners are caught and treated as failure 55- ⭐ Lots of integration tests (should make any future development of this library way easier) 56- Add `must_use` message for `Conclusion` 57- Print total execution time at the end of the run 58- Allow benchmarks to run in test mode 59- `--include-ignored` 60 61### Removed 62- **Breaking**: remove unsupported CLI options. They were ignored anyway, but 63 the CLI would accept them. 64 65 66## [0.4.1] - 2022-06-07 67 68- Add `rust = "1.56"` to `Cargo.toml`, stating the existing MSRV. 69- Update `crossbeam-channel` to deduplicate some indirect dependencies. 70 71## [0.4.0] - 2022-05-13 72- **Breaking**: Update to Rust 2021, bumping MSRV to 1.56 73- Fix `--list --ignored` behavior 74 75 76## [0.3.0] - 2020-06-28 77### Added 78- Add support for running tests in parallel #4 79- Add `Arguments::from_iter` #5 80 81## [0.2.0] - 2019-10-02 82### Changed 83- Upgrade dependencies #3 84- Flush stdout after printing test name 4a36b3318b69df233b0db7d1af3caf276e6bb070 85 86### Fixed 87- Fix overflow bug when calculating number of passed tests 264fe6f8a986ab0c02f4a85e64e42ee17596923c 88 89## 0.1.0 - 2018-07-23 90### Added 91- Everything. 92 93 94[Unreleased]: https://github.com/LukasKalbertodt/libtest-mimic/compare/v0.6.0...HEAD 95[0.6.0]: https://github.com/LukasKalbertodt/libtest-mimic/compare/v0.5.2...v0.6.0 96[0.5.2]: https://github.com/LukasKalbertodt/libtest-mimic/compare/v0.5.1...v0.5.2 97[0.5.1]: https://github.com/LukasKalbertodt/libtest-mimic/compare/v0.5.0...v0.5.1 98[0.5.0]: https://github.com/LukasKalbertodt/libtest-mimic/compare/v0.4.1...v0.5.0 99[0.4.1]: https://github.com/LukasKalbertodt/libtest-mimic/compare/v0.4.0...v0.4.1 100[0.4.0]: https://github.com/LukasKalbertodt/libtest-mimic/compare/v0.3.0...v0.4.0 101[0.3.0]: https://github.com/LukasKalbertodt/libtest-mimic/compare/v0.2.0...v0.3.0 102[0.2.0]: https://github.com/LukasKalbertodt/libtest-mimic/compare/v0.1.0...v0.2.0 103[0.1.1]: https://github.com/LukasKalbertodt/libtest-mimic/compare/v0.1.0...v0.1.1 104