This is a pytest plugin for Kiwi TCMS.
You can install "kiwitcms-pytest-plugin" via pip from PyPI:
$ pip install kiwitcms-pytest-plugin
Minimal config file ~/.tcms.conf:
[tcms] url = https://tcms.server/xml-rpc/ username = your-username password = your-password
For more info see tcms-api docs. Further documentation and behavior specification can be found here.
# define environment variables pytest -p tcms_pytest_plugin --kiwitcms
Test functions can be decorated with @TestCase from
tcms_api.plugin_helpers to reuse an existing TestCase or to specify
additional TestCase fields:
from tcms_api.plugin_helpers import TestCase
@TestCase(id=45)
def test_coupon_guest():
...
- Update tcms-api from 15.0 to 17.3
- Support the
@tcms_api.plugin_helpers.TestCasedecorator for stable test case identification - Update TestCase.text from the docstring only when the database value is empty
- Publish test function docstring as TestCase.text (Carlos Martinez)
- Update tcms-api requirement from >=12.8.1 to >=15.0
- Drop Python 3.8 from test matrix
- Update tcms-api from 12.7 to 12.8.1
- Relax dependency requirement for tcms-api for easier upgrades
- Follow versioning of other plugins for Kiwi TCMS
- Update tcms-api from 11.3 to 12.7
- Build and test with Python 3.11
- Add code scanning with CodeQL
- First release on PyPI
- Based on tcms-api v11.3
- Compatible with Kiwi TCMS v11.3 or later
Distributed under the terms of the GNU GPL v3.0 license, "kiwitcms-pytest-plugin" is free and open source software
If you encounter any problems, please file an issue along with a detailed description.