-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made Readme, improved tests for better compatibility with client, imp…
…roved requirements.txt.
- Loading branch information
Showing
8 changed files
with
55 additions
and
17 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Installation & Test Execution Guide | ||
|
||
## 1. Setting Up Dependencies | ||
Before launching tests, you need to install the required dependencies. There are two options: | ||
### A. Using the current environment: | ||
```bash | ||
pip install -r misc/requirements.txt | ||
``` | ||
### B. Creating a separate Conda environment: | ||
```bash | ||
conda create --name facesdk_python_tests python=3.8 | ||
``` | ||
```bash | ||
conda activate facesdk_python_tests | ||
pip install -r misc/requirements.txt | ||
``` | ||
|
||
## 2. Running the Tests | ||
|
||
Run the tests using: | ||
```bash | ||
pytest -v | ||
``` | ||
|
||
## 3. Configuration | ||
Ensure you refer to the file `tests/misc/paths_and_urls.py` for paths to images and service URLs. Make sure to use the correct URL. | ||
|
||
## 4. Generating Allure Report | ||
You can access the run using report portal on http://172.20.40.141:8080/ | ||
|
||
To run tests with report portal use | ||
```bash | ||
pytest -v --reportportal | ||
``` | ||
Happy Testing! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
pytest | ||
pytest~=7.4.3 | ||
requests | ||
allure-pytest | ||
regula.facesdk.webclient | ||
pytest-reportportal | ||
pytest-reportportal | ||
certifi==2023.7.22 | ||
six>=1.10 | ||
python-dateutil>=2.5.3 | ||
urllib3>=1.26.18 | ||
vistir>=0.4.0,<=0.6.1 | ||
setuptools>=21.0.0 | ||
pipenv-setup | ||
wheel | ||
twine | ||
chardet |