Skip to main content

A pytest plugin for uploading parameterized tests parameters into TMS TestIT

Project description

pytest-testit-parametrize

Release Status Python versions Downloads GitHub contributors See Build Status on GitHub Actions

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pytest_testit_parametrize-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d714193f698ebf4d95575638c15ad55d928d5c55f5af6c599aff7b254a749c81
MD5 3c27ec4071ef0ab914b46b63928238ec
BLAKE2b-256 816fc763dafadc2094ab1a4893a970a9f5d2426279f3feea0fdd86500afe6410

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_testit_parametrize-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5027f925e22f653bec87c298e0f0d61063956d94dab1c07ea02b7931c184dcab
MD5 20cbdff0a4c03b6c0799cdbb9913b5bc
BLAKE2b-256 891bb3ed9d7e7fe3a6d938e8a45b8d76cb020d78c635d5592c1e67de8d8f793e

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