3 releases (breaking)

0.4.0 Apr 13, 2022
0.3.0 Mar 11, 2022
0.2.0 Nov 17, 2021

#501 in Testing

Custom license

19KB
504 lines

ft

Parallel Functional Testing framework, written in Rust

Why ?

ft provides an alternative to constantly rewriting the same functional test framework for every project you start. It is written in pure Rust, and allows parallel testing, as well as an important set of input/output formats.

How ?

Look at the syntax to get started with creating your own tests. Then, simply run ft on the files you created.

Features

  • Parallel execution
  • Timeout
  • Assert on stdout
  • Assert on stderr
  • Assert on exit-code
  • Input from YAML
  • Input from JSON
  • Input from TOML
  • YAML output
  • JSON output
  • TOML output

Installation

If you have rust and its build system, cargo, installed, simply run:

> cargo install --git https://github.com/cohenarthur/ft

To install rust, first visit the getting started page

You can also download a release of ft from the release page. The binaries are compiled for x86_64 systems.

Dependencies

~5–15MB
~169K SLoC