TestFlows Test Framework
TestFlows Open-Source Test Framework
TestFlows is still work in progress and is currently under development. Please use it only for reference.
TestFlows is a flow oriented test framework that can be used for functional, integration, acceptance and unit testing. It uses everything is a test approach with the focus on providing test designers flexibility in writing and running their tests.
$ pip3 install testflows
or from sources
$ git clone https://github.com/testflows/TestFlows.git $ cd TestFlows $ ./build ; ./install
TestFlows supports defining tests using either the traditional keywords
- Module, Suite, Test, and Step
or using keywords such as
- Module, Feature, Scenario, Given, When, Then, But, And, By and Finally
An inline test scenario can be defined as follows
from testflows.core import Scenario with Scenario("Hello TestFlows!"): pass
then just run it using
$ python3 ./test.py Jul 12,2020 14:30:20 ⟥ Scenario Hello TestFlows! 1ms ⟥⟤ OK Hello TestFlows!, /Hello TestFlows! Passing ✔ [ OK ] /Hello TestFlows! 1 scenario (1 ok) Total time 2ms Executed on Jul 12,2020 14:30 TestFlows Test Framework v1.6.200712.1132037
What to know more?
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.