testsuite for FATE
Project description
A useful script to running FATE’s testsuites.
quick start
(optional) create virtual env
python -m venv venv source venv/bin/activate
install fate_testsuite
pip install fate_testsuite fate_testsuite --help
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
run some testsuites
fate_testsuite suite -i <path contains *testsuite.json>
useful logs or exception will be saved to logs dir with namespace showed in last step
testsuite_config.yaml examples
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]
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
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
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
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
Built Distribution
File details
Details for the file sage_testsuite-0.1.0a1.tar.gz
.
File metadata
- Download URL: sage_testsuite-0.1.0a1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | eda6e566109ce3f71dc73079fb0cb24caf5b31da35e86b6559e3c9d8e99a8ded |
|
MD5 | 575e8b3c164f09438633552fd268a8af |
|
BLAKE2b-256 | 74ed3617b0b08b41901fd1c089122b2bb57b841a3d537f67da483ff120ca24c0 |
File details
Details for the file sage_testsuite-0.1.0a1-py3-none-any.whl
.
File metadata
- Download URL: sage_testsuite-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.7.7 Darwin/19.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7295c3e63ff754c3bc5258e4c9e41da49ed017b74d304d0946cdb14698f4b74f |
|
MD5 | 400e6c7975b6ba85eeb27313a1a53526 |
|
BLAKE2b-256 | daa8edabbfd404d99d908935d86437c36a09976decde483fb5f7914b808f9f5a |