Skip to main content

TestFlows Test Framework

Project description

TestFlows 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.

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 BDD (Behavior Driven Development) inspired keywords

  • 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 
Oct 21,2019 18:44:06     Scenario Hello TestFlows!
                 1ms   ⟥⟤ OK Hello TestFlows!, /Hello TestFlows!

1 scenario (1 ok)

Total time 1ms

Executed on Dec 31,1969 19:00
TestFlows Test Framework v1.3.191021.1223802

What to know more?

Join @TestFlows channel on Telegram.

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.3.46.tar.gz (2.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for testflows-1.3.46.tar.gz
Algorithm Hash digest
SHA256 425528a9a3bb0da4df92ffca102ed764f0f39ee27c18fb7ed0414cd363ea4759
MD5 92d2b22d2ed49354777023dcaba78aa8
BLAKE2b-256 49579af75fcf3fa0d995c69d3d210f70aee09b9006cce6cb4a33f209866853e1

See more details on using hashes here.

Supported by

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