Translator UI Test Runner
Project description
Translator UI Test Runner
This testing framework performs UI Pass/Fail analysis on queries it receives from the Translator Test Harness.
Installation
pip install ui_test_runner
Usage
from ui_test_runner import run_ui_test
report = run_ui_test(<env>, <query_type>, <expected_output>, <input_curie>, <output_curie>)
Arguements:
- env: the environment to run the queries against. (dev, ci, test, prod)
- query_type: type of query to test. (treats(creative), upregulates, downregulates)
- expected_output: whether the output curie is good or bad. (TopAnswer, Acceptable, BadButForgivable, NeverShow)
- input_curie: curie used in the initial query.
- output_curie: curie checked for in the results
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
ui-test-runner-0.0.1.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file ui-test-runner-0.0.1.tar.gz
.
File metadata
- Download URL: ui-test-runner-0.0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31810c1ff664d59eeab4b0cde13d61cba949e380361726e187b567d9958a442c |
|
MD5 | 96a24ef7259edc5c4c9526460dde98a1 |
|
BLAKE2b-256 | a1375cfc7e53d377ad33bd924bb534e2edcf34f0b9ad7b8190befdf47f482e41 |
File details
Details for the file ui_test_runner-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: ui_test_runner-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2ca75d6dcd996661eab5d9bbf8f00083b0be5190bad73f62c4150d340de9818 |
|
MD5 | 32619ed38ab524493f3458b61bbc653f |
|
BLAKE2b-256 | 524f2abdd1d0d1ee623dcffcf35da5575922de0180b6a04704185af018bbbcc4 |