Skip to main content

A pytest plugin for uploading parameterized tests parameters into TMS TestIT

Project description

pytest-testit-parametrize

Release Status Python versions PyPI - Downloads GitHub Downloads (all assets, all releases)

A pytest plugin for uploading parameterized tests parameters into TMS TestIT

Getting Started

Installation

pip install pytest-testit-parametrize

Usage

Read parameters from collected pytest autotests and write them into Test IT test cases

pytest --testit-params-init

Remove parameterization parameters from Test IT test cases related to collected autotests by pytest

pytest --testit-params-flush

When the plugin finishes its work, the testrun will be interrupted, so no autotests will actually be run.

The plugin only affects autotests with the @pytest.mark.parameterize decorator. All others will be ignored

Configuration

For the plugin to work, you must have a completely identical configuration to what is required for testit-adapter-pytest.

Contributing

You can help to develop the project. Any contributions are greatly appreciated. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the Apache Software License 2.0, "pytest-testit-parametrize" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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

pytest_testit_parametrize-0.1.3.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_testit_parametrize-0.1.3-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file pytest_testit_parametrize-0.1.3.tar.gz.

File metadata

File hashes

Hashes for pytest_testit_parametrize-0.1.3.tar.gz
Algorithm Hash digest
SHA256 fda1f3f7ddeecc3d8d41e699b69f75bf197946b6424f68e9281727cf6b16b39e
MD5 2fe7c702f79e2bd487925e245ae63004
BLAKE2b-256 3ff1873375b801e56dc2803bb94fdf8b45c233ec01659624f9dad10f7e4de8f6

See more details on using hashes here.

File details

Details for the file pytest_testit_parametrize-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_testit_parametrize-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f950bcb1881a753c87729bfb8bd49a757d9f3f8eda8e24bf18dba20cf70b4249
MD5 03a89c769956e6b5a136a3394459ead9
BLAKE2b-256 f0099c808d279c2c15672d561b65c06e3f3643ec4f36d073545a50a03d6ce76b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page