Skip to main content

TestFlows Test Framework

Project description

TestFlows Open-Source Test Framework

TestFlows is still work in progress and is currently under development. Please use it only for reference.

TestFlows

Introduction

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.

Documentation

You can find TestFlows's documentation at https://testflows.com.

Supported environment

Installation

You can install TestFlows using pip3

$ pip3 install testflows

or from sources

$ git clone https://github.com/testflows/TestFlows.git
$ cd TestFlows
$ ./build ; ./install

Styles

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

Hello TestFlows

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 command

$ 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?

Find more information about TestFlows at https://testflows.com. Join our channel on Telegram or follow us on Twitter.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

testflows-1.6.30.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file testflows-1.6.30.tar.gz.

File metadata

  • Download URL: testflows-1.6.30.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for testflows-1.6.30.tar.gz
Algorithm Hash digest
SHA256 05a147545c64f356e9fdd768ea67e9de3ee412b3c0e9bb095acab0d0297fca6b
MD5 48b8f87ff0ee78da55f49cd96aefe9a7
BLAKE2b-256 fa33899b8ca6bc55e947cff6e0914fc9dbb79e7083fb78bbdbcfb4c428db5995

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page