pytest-env-info 0.3.0

Creator: bradpython12

Last updated:

Add to Cart

Description:

pytestenvinfo 0.3.0

pytest-env-info===============.. image:: https://travis-ci.org/abadger/pytest-env-info.svg?branch=master :target: https://travis-ci.org/abadger/pytest-env-infoPush information about the running pytest into the environmentFeatures--------* Injects information about the Python and Pytest versions that are running the unittests into the environment. This can be used for configuring other pytest plugins for the Python version being run on.The following environment variables are set:.. envvar:: PYTEST_VERSION The version of the executing pytest.. envvar:: PYTEST_PYVER The version of the Python interpreter running pytest.. envvar:: PYTEST_PYMAJVER The major version of the Python interpreter. For instance, "2" on Python-2.7.14 and "3" for Python-3.6.1... envvar:: PYTEST_PYMAJMINVER The major and minor version of the Python interpreter. For instance, "2.7" on Python-2.7.14 and "3.6" for Python-3.6.1.Requirements------------* PytestInstallation------------You can install "pytest-env-info" via `pip`_ from `PyPI`_:: $ pip install pytest-env-infoContributing------------Contributions are very welcome. Tests can be run with `tox`_, please ensurethe coverage at least stays the same before you submit a pull request.License-------Distributed under the terms of the `MIT`_ license, "pytest-env-info" is free and open source softwareIssues------If you encounter any problems, please `file an issue`_ along with a detailed description... _`MIT`: http://opensource.org/licenses/MIT.. _`file an issue`: https://github.com/abadger/pytest-env-info/issues.. _`pytest`: https://github.com/pytest-dev/pytest.. _`tox`: https://tox.readthedocs.io/en/latest/.. _`pip`: https://pypi.python.org/pypi/pip/.. _`PyPI`: https://pypi.python.org/pypi

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.