This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
Releases: FifthTry/fbt
Releases · FifthTry/fbt
Version 0.1.9 - filter
In this release, we have implemented a command-line-based filter option to only run the tests we are interested in.
v0.1.8 - use ftd=0.1.3 (smaller release)
In this release, we are using the latest version of ftd, so our dependencies have gone down from 200+ to 20 something.
v0.1.7: replace tempdir with `<cwd>`
- in stdout or stderr if we find any reference to the current directory name, we replace that with a constant string
"<cwd>"
.
v0.1.6: bugfix release (found vs expected issue)
- bugfix: found vs expected for output mismatch was wrong
`skip` header, better output & output folder checks
- CR #8:
- added
skip
header in cmd.p1 to skip individual tests - run tests in lexical order
- added
- CR #7
- on exit code show stdout / stderr cleanly ().
- using
diffy
to show diff when stdout/stderr don't match
Before:
After:
- CR #9: checking if
output
folder content matches (in case of failures the output we print is buggy in case of missing/extra files).
version support & better library
--version
or-v
on the command line prints the version number and exits, CR #5.fbt_lib::main() -> Option<i32>
is now available for using fbt as a library for testing rust crates, instead of as command-line CR #6. This is so you do not have to worry about how to installfbt
on your CI, just add another dependency:
#[cfg(test)]
mod tests {
#[test]
fn fbt() {
if fbt_lib::main().is_some() {
panic!("test failed")
}
}
}
0.1.3 released: minor
- not exporting private enums and structs
- output match is not performed right now, so made test explicitly fail if they depended on the output match
v0.1.2: Build Command
We now accept the build
key in the fbt.p1
file, which can be used to build your project before running the tests. We also set the FBT_CWD
environment variable with the folder where we executed the build command, so test commands can use it to construct command paths for binaries, etc.
Version 0.1.1 (with global config file)
In this release support of the optional fbt.p1
file in the tests
folder is added. Common settings that are part of cmd.p1
files can be stored in fbt.p1
so we don't have to repeat them.
First Release
Published first release on crates.