Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Releases: FifthTry/fbt

Version 0.1.9 - filter

05 Jun 11:13
Compare
Choose a tag to compare

Change Request #13.

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)

23 May 10:34
Compare
Choose a tag to compare

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>`

20 May 05:25
Compare
Choose a tag to compare

Change Request #11.

  • 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)

14 May 16:56
Compare
Choose a tag to compare
  • bugfix: found vs expected for output mismatch was wrong

`skip` header, better output & output folder checks

13 May 13:51
630cede
Compare
Choose a tag to compare
  • CR #8:
    • added skip header in cmd.p1 to skip individual tests
    • run tests in lexical order
  • 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

11 May 14:22
Compare
Choose a tag to compare
  • --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 install fbt 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

04 May 17:06
92d9ef9
Compare
Choose a tag to compare
  • 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

04 May 10:16
e5d340b
Compare
Choose a tag to compare

Change Request #3.

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)

02 May 16:08
Compare
Choose a tag to compare

Change Request #2.

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

01 May 14:10
Compare
Choose a tag to compare

Published first release on crates.