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

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

You can use both flags at the same time.

NOTE: 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 are ignored

Configuration

To have the plugin working you should 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.5.tar.gz (17.1 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.5-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pytest_testit_parametrize-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5f6e0202244eed33d9d08e534b2b06fcb69ed50e11420da2c370d9dae727ca17
MD5 d3109bb84daa3d7d59743ca9389ac26d
BLAKE2b-256 87ad9999fb66a21ae4262bfdf48184b4d756e67419b4a0286870dc1c258720b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_testit_parametrize-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0ec63e25636d81f44def72cf12f06707d56bd7428e0385cdbae326749b23c41f
MD5 a57d395e2efcb390cee973db9d60df64
BLAKE2b-256 2f2502a392d767962f00a57e9cdd8b69b85a785c3affd428ecf83fe5408f5108

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