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.4.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.4-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pytest_testit_parametrize-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d0a4fdda7ed71b870be75f8b726d75b923e1764d4ac216aebe8eea86a83d8df3
MD5 bfdf31cf6868f3389fccb77d8f0feb26
BLAKE2b-256 b1a8535ea9b18c710e229463a75d7c8353377a9e8de6fc9c102afc56ee77a39b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_testit_parametrize-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 faed2445f96a6a4d10716b7ab4e34bde1ad28693f4cc848642923832f3a04490
MD5 8e06c0532e29caf6bafd6583d151fadd
BLAKE2b-256 2cd14f26a0a5aec13feee0cac1e30c632568c41ee60d6b8f3b5cee5ecc8565e7

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