0 purchases
stacktasktempestplugin 0.0.7
Stacktask Tempest Plugin=====================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 cdtempest source .venv/bin/activate You can't use 'macro parameter character #' in math modeYou can't use 'macro parameter character #' in math mode 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 testrlist−tests|grepstacktasktempestpluginThiscommandwillshowyourcompletelistoftestcasesinsidetheplugin.2.Runthetestcasesbyname,orincludeinyourtempesttestlists...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 cdstacktask−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 ~/.pypircRegister the project with pypi:.. code-block:: bash pythonsetup.pyregister−rpypitestUploadanewversion:..code−block::bash python setup.py sdist upload -r pypitestIncrement the version number in setup.cfg for any new versions that need to be uploaded.Remove the '-r pypitest' for offical deploys.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.