Skip to main content

testsuite for FATE

Project description

A useful script to running FATE’s testsuites.

quick start

  1. (optional) create virtual env

    python -m venv venv
    source venv/bin/activate
  2. install fate_testsuite

    pip install fate_testsuite
    fate_testsuite --help
  3. new and edit the testsuite_config.yaml

    # create a testsuite_config.yaml in current dir
    testsuite config new
    # edit priority config file with system default editor
    # filling some field according to comments
    fate_testsuite config edit
  4. run some testsuites

    fate_testsuite suite -i <path contains *testsuite.json>
  5. useful logs or exception will be saved to logs dir with namespace showed in last step

testsuite_config.yaml examples

  1. deploy multiple flow services in single node: ip:port, and run testsuite in different node:

    • party 9999, port 9380

    • party 10000, port 9381

    filling ssh_tunnel and comments out local_services

    ssh_tunnel:
        - address: ip:port
        - services:
            - address: 127.0.0.1:9380
              parties: [9999]
            - address: 127.0.0.1:9381
              parties: [10000]
  2. deploy multiple flow services in single node: ip:port, and run testsuite in same node:

    • party 9999, port 9380

    • party 10000, port 9381

    filling local_services and commnets out ssh_tunnel

    local_services: # flow services in local
        - address: 127.0.0.1:9380
          parties: [9999]
        - address: 127.0.0.1:9381
          parties: [10000]

command options

  1. exclude:

    testsuite suite -i <path1 contains *testsuite.json> -e <path2 to exclude> -e <path3 to exclude> ...

    will run testsuites in path1 but not in path2 and path3

  2. replace:

    testsuite suite -i <path1 contains *testsuite.json> -r '{"maxIter": 5}'

    will find all key-value pair with key “maxIter” in data conf or conf or dsl and replace the value with 5

Project details


Download files

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

Source Distribution

sage_testsuite-0.1.0a3.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

sage_testsuite-0.1.0a3-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file sage_testsuite-0.1.0a3.tar.gz.

File metadata

  • Download URL: sage_testsuite-0.1.0a3.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.7.7 Darwin/19.5.0

File hashes

Hashes for sage_testsuite-0.1.0a3.tar.gz
Algorithm Hash digest
SHA256 6155df3033e9bac70bb63f3efbc5d1dc0860daf1e99f8e3113d1aafbbf4bcd93
MD5 7a0214b1514915901d5a6fa5265cdfaf
BLAKE2b-256 468a3f5a4ff6fd42dd1027f8a9da0fbc44302a44074aae00753ff49f43ee37fa

See more details on using hashes here.

File details

Details for the file sage_testsuite-0.1.0a3-py3-none-any.whl.

File metadata

File hashes

Hashes for sage_testsuite-0.1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 04024be14488eba604c7c1bf51960c85047ec872838fe8367556620ec4800a1c
MD5 f761e9d57f4422484c3c12c38017d47a
BLAKE2b-256 c29f5f596d4e61a189d7daceec0aa954c2facf9849850411890fcee30419c2bf

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page