Releases: nextest-rs/datatest-stable
Releases · nextest-rs/datatest-stable
datatest-stable 0.2.10
- Internal dependency updates: update
libtest-mimic
to 0.8.1, andfancy-regex
to 0.14.0. - Update MSRV to Rust 1.72.
datatest-stable 0.2.9
Added
Previously, the test functions supported were fn(&Path) -> Result<()>
and fn(&Utf8Path) -> Result<()>
. This release adds additional supported functions:
fn(&P, String) -> datatest_stable::Result<()>
whereP
isPath
orUtf8Path
. If the
extraString
parameter is specified, the contents of the file will be loaded and passed in
as a string (erroring out if that failed).fn(&P, Vec<u8>) -> datatest_stable::Result<()>
whereP
isPath
orUtf8Path
. If the
extraVec<u8>
parameter is specified, the contents of the file will be
loaded and passed in as aVec<u8>
(erroring out if that failed).
datatest-stable 0.2.8
Fixed
- Fixed quadratic performance issue with nextest, where datatest-stable would iterate over the
entire list of files for each test. Thanks @zaneduffield for
your first contribution!
datatest-stable 0.2.7
Changed
- Switched to the
fancy-regex
crate, which allows for matching against regexes with
lookahead/behind and backreferences. Thanks @webbdays for your
first contribution! - MSRV updated to Rust 1.66.
datatest-stable 0.2.6
- Update to
libtest-mimic 0.7.2
, and use the upstream implementation ofExitCode
.
datatest-stable 0.2.5
- Exit main via
ExitCode
rather thanstd::process::exit()
. This appears to fix coverage on
Windows.
datatest-stable 0.2.4
This is a periodic maintenance release.
- Update internal dependency versions, including libtest-mimic to 0.7.0.
- Update "docs (main)" link to the new location at https://datatest-stable.nexte.st.
- Update MSRV to Rust 1.65.
datatest-stable 0.2.3
Updated README.
datatest-stable 0.2.2
Added
- Restored compatibility with
fn(&Path) -> Result<()>
. The harness now can take eitherfn(&Path) -> Result<()>
orfn(&Utf8Path) -> Result<()>
.
datatest-stable 0.2.1
Changed
- The test signature is now
fn(&
Utf8Path
)
rather thanfn(&Path)
. If necessary, aUtf8Path
can be converted to a&Path
with.as_ref()
or.as_std_path()
. - Non-Unicode paths now consistently produce errors. Previously, the treatment of such paths was inconsistent -- they would either be skipped or produce errors.
- Internal dependency update: libtest-mimic updated to version 0.6.1.
- MSRV updated to Rust 1.60.