ads-pytest-parser-0.0.2
توضیحات
Associate DevOps test cases with pytest XML results
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ads-pytest-parser-0.0.2 |
| نام | ads-pytest-parser |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | VisualLabs Kft <aron.paljakab@visuallabs.hu>, Aron Pal-Jakab <aron.paljakab@visuallabs.hu> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/ads-pytest-parser/ |
| مجوز | - |

# Pytest Parser to Azure DevOps Test Case
Associate DevOps test cases with pytest nunit XML results
## Usage
The parser should be run on an Azure DevOps ```pytest-azurepipelines``` generated XML file, because it searches for the following attributes:
- "test-case"
- "methodname"
- "result"
The Python script requires the following arguments:
- org: Azure DevOps organization name
- project: Azure DevOps project name
- plan: Azure DevOps test plan name
- suite: Azure DevOps test suite name
- auth: Azure DevOps personal access token
- xml: pytest-azurepipelines generated XML file
The test cases should be named in the following format: ```testcase_<DevOpsID>``` , i.e. ```def testcase_123456():```
For example:
```
ads-pytest-parser org project planID suiteID authToken test.xml
```
The script will then associate the test cases with the test results - for the test cases the outcome will be set.
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl ads-pytest-parser-0.0.2:
pip install ads-pytest-parser-0.0.2.whl
نصب پکیج tar.gz ads-pytest-parser-0.0.2:
pip install ads-pytest-parser-0.0.2.tar.gz