qase-python-commons is a foundational Python library providing common models, data structures, and utilities used across various Qase TestOps integration tools, such as reporters for Pytest, Behave, and Robot Framework. It streamlines data exchange and standardizes reporting formats for Qase TestOps. The current version is 5.1.1, and it's actively maintained with frequent updates, often alongside its sister reporter libraries.
pip install qase-python-commonsVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to instantiate and populate core data models like `Result` and `Step` using `qaseio.commons.models`. These objects form the basis for reporting test results to Qase TestOps via various reporter libraries.
Ensure you are using the `add_tag()` method for adding tags to `Result` objects and accessing tags via `result.tags` attribute. Review custom code that interacts with test tags.
Ensure your project uses Pydantic v1.x (e.g., `pip install 'pydantic<2.0'`) or create a dedicated virtual environment for projects using `qase-python-commons` to manage its dependencies correctly.