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 Test to Trial
Breaking: Rename run_tests to run
⭐ Breaking: Make every Trial have a runner function instead of data + a
global runner function. Thus, the third parameter of run is 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_threads to test_threads
Breaking: make fields of Conclusion public and remove getter methods
Breaking: remove RunnerEvent. This should not have been public.
⭐ Tests are now run in main thread when --test-threads=1 is specified
⭐ Reduce number of indirect dependencies considerably
Fix rust-version field in Cargo.toml (thanks @hellow554)
Fix --ignored behavior
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_use message for Conclusion
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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on libtest-mimic to permit the latest version.
Release notes
Sourced from libtest-mimic's releases.
Changelog
Sourced from libtest-mimic's changelog.
... (truncated)
Commits
ca46038
Bump version to 0.5.2abfea8d
Fix link in docs90536df
Merge pull request #18 from sunshowers/nocapture9481a88
Restore --nocapture as a no-op argument05346b3
Bump version to 0.5.113c1e19
Add a bunch of getters toTrial
4d4a91b
Add a test file to observe the behavior of the built-in libtest6914255
Bump version to 0.5.0d4af1ec
Fix MSRV to 1.58 and check it in CI9816d93
Test with Rust 1.57 in CIDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)