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.6.tar.gz
(10.0 kB
view details)
Built Distribution
partest-0.0.6-py3-none-any.whl
(11.8 kB
view details)
File details
Details for the file partest-0.0.6.tar.gz
.
File metadata
- Download URL: partest-0.0.6.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec905e9169dae8c0da588d874151e03ce636c24927fd2cfc8cf15ca2a0a02262 |
|
MD5 | 66bc9047958c1a298cafcf6051865e6e |
|
BLAKE2b-256 | f275b8e9e47259553fa0ee580bdfd88494b5b8b83557a62dc8355ff1d009d9bd |
File details
Details for the file partest-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: partest-0.0.6-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 | 4fca22dff797709f1fece183c7a043ddf103d585b3cf30535c80323de24e449e |
|
MD5 | d8072f62db67e1b585cf0d42f5a10205 |
|
BLAKE2b-256 | 1fc3d6097a49e8b0c38967ab45f37042c10d9feb38d1235e99ffa1a0ab968a4c |