This is a module for the rapid implementation of test cases with coverage tracking. This module contains a call counter for specific endpoints and their methods. As well as the function of determining the types of tests that need to be counted.
Project description
Install
Для сборки доступны команды:
# docker build --build-arg run_env=stage --build-arg run_domen=https://127.0.0.1 -t prosvdev-domen27 .
- run_env=name - требуетя указать имя тестируемого окружения (dev/stage)
- run_domen= - требуется указать имя домена поднятного API интерфейса(адрес стенда)
Docker: запуск
# docker run {name}
or
# docker run -it {name} bash
Docker: отчет
Результат запуска: reports/pytest/result.xml
# pytest --verbose --junitxml=reports\\pytest\\result.xml src/tests/
Общая структура проекта
├── prosv
├───logs - логирование
├───reports - репорты по прогону
│ └───pytest
└───src - расположение всех запускаемых тестов
├───models
└───tests
└───component
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
partest-0.0.7.tar.gz
(9.9 kB
view details)
Built Distribution
partest-0.0.7-py3-none-any.whl
(11.8 kB
view details)
File details
Details for the file partest-0.0.7.tar.gz
.
File metadata
- Download URL: partest-0.0.7.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bc5a10f7b2f390fa878cf05fa8de35d296c7ed4ada45d2f2c3eddf4d769b0a7 |
|
MD5 | 5bfb9696bb7eada67cfd5eb79cb446a0 |
|
BLAKE2b-256 | 111f322869df63a39049c369b5e56b0dba0b03a2379bd3d4b4f8fa6b47cd813f |
File details
Details for the file partest-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: partest-0.0.7-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7d28730704eacb8926507eeeddfd9bd047030270f9810a69f88f5c10b005a3d |
|
MD5 | 80a20f2cdc8499f919f7f3f34dd01c3b |
|
BLAKE2b-256 | 1dc5781a79dd0db0e0c87a704c475d4f2fc02ec16be61663349e45b65220ecf5 |