pytest-polarion-cfme
NOTE: pytest-polarion-cfme is no longer using pylarion as pylarion is being deprecated. As a consequence command line options changed too.
pytest-polarion-cfme is a pytest plugin for collecting test cases and recording test results to database.
From set of test cases specified on command line the plugin selects such test cases that are present in the database and have no reportable result yet.
After executing a test case the plugin records its result in the database. By default results for passed and blocked (test cases with blocker or ‘skipif’) test cases are recorded.
It is tailored for the CFME QE team.
Usage
Generate sqlite3 file out of the CSV file exported from Polarion®. Use the csv2sqlite.py from dump2polarion for this.
From test cases available to pytest (you can limit these using standard pytest features like -k or specifying file/directory path) select and run those that are present in the database and have no reportable result. Record results for test cases that passed or that are blocked:
$ py.test --db <db_file.sqlite3>
To exclude tests that were already executed but haven’t passed, add --skip-executed command line option (i.e. failing/skipped tests are not re-run and it saves time):
$ py.test --db <db_file.sqlite3> --skip-executed
Submit results to Polarion® xunit importer using polarion_dumper.py from dump2polarion.
Install
For CFME QE specific instructions see https://mojo.redhat.com/docs/DOC-1098563 (accessible only from internal network).
Install this plugin:
$ pip install pytest-polarion-cfme
Metadata
Release files for pytest-polarion-cfme 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pytest_polarion_cfme-0.1.5.tar.gz | 11.7 kB | Without provenance | Details |
Release files / pytest_polarion_cfme-0.1.5.tar.gz
| Download URL | pytest_polarion_cfme-0.1.5.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b3eb44fd159fb74693ae4e6f5caf4bb0e587792210e733257ae88d728867cb2
|
|
BLAKE2b-256 checksum How to use checksums |
7d7222e7fd084267e294efe657422b67afc78e4487cd68b90acdd230d3a8043b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytest-polarion-cfme 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.