=====================
Tempest plugin that runs a Stacktask test case.
============
Installation
============
You can install the plugin using pip, directly into the python environment tempest uses (either global or a virtualenv):
.. code-block:: bash
$ cd tempest
$ source .venv/bin/activate
$ pip install stacktask-tempest-plugin
# Or, for the development testpypi version:
$ pip install -i https://testpypi.python.org/pypi --upgrade stacktask-tempest-plugin
============
Running tests
============
1. Install either the development or pypi versions using pip.
2. To validate that Tempest discovered the tests in the plugin, you can run:
.. code-block:: bash
$ testr list-tests | grep stacktask_tempest_plugin
This command will show your complete list of test cases inside the plugin.
2. Run the test cases by name, or include in your tempest test lists.
.. code-block:: bash
$ testr run stacktask_tempest_plugin.tests.api.test_users.StacktaskProjectAdminTestUsers.test_get_users
============
Development Installation
============
When Tempest runs, it will automatically discover the installed plugins. So we just need to install the Python packages that contains the plugin.
Clone the repository in your machine and install the package from the src tree:
.. code-block:: bash
$ cd stacktask-tempest-plugin
$ sudo pip install -e .
============
Pypi package creation
============
There are better guides for pypi, but the basic commands may be useful.
These steps require a pypi account, configured in ~/.pypirc
Register the project with pypi:
.. code-block:: bash
$ python setup.py register -r pypitest
Upload a new version:
.. code-block:: bash
$ python setup.py sdist upload -r pypitest
Increment the version number in setup.cfg for any new versions that need to be uploaded.
Remove the '-r pypitest' for offical deploys.
Metadata
Release files for stacktask-tempest-plugin 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| stacktask-tempest-plugin-0.0.7.tar.gz | 10.7 kB | Without provenance | Details |
Release files / stacktask-tempest-plugin-0.0.7.tar.gz
| Download URL | stacktask-tempest-plugin-0.0.7.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f61aca3f25c218fdbd1b4bfdd4299980dded0c4f6afd5bf899c30ed328f3503a
|
|
BLAKE2b-256 checksum How to use checksums |
05e28ca931c5aa54da843e726db788b60ac46c88228d6733a604b393c5a1c4ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for stacktask-tempest-plugin 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.