Metadata-Version: 2.1
Name: pytest-easy-server
Version: 0.7.0
Summary: Pytest plugin for easy testing against servers
Home-page: https://github.com/andy-maier/pytest-easy-server
Author: Andreas Maier
Author-email: andreas.r.maier@gmx.de
Maintainer: Andreas Maier
Maintainer-email: andreas.r.maier@gmx.de
License: Apache Software License 2.0
Project-URL: Bug Tracker, https://github.com/andy-maier/pytest-easy-server/issues
Project-URL: Documentation, https://pytest-easy-server.readthedocs.io/en/stable/
Project-URL: Change Log, https://pytest-easy-server.readthedocs.io/en/stable/changes.html
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Description-Content-Type: text/x-rst
Requires-Dist: easy-server (>=0.7.0)
Requires-Dist: easy-vault (>=0.7.0)
Requires-Dist: yamlloader (>=0.5.5)
Requires-Dist: jsonschema (>=2.6.0)
Requires-Dist: pytest (<5.0.0,>=4.3.1) ; python_version < "3.5"
Requires-Dist: PyYAML (>=5.3.1) ; python_version == "2.7"
Requires-Dist: pyrsistent (<0.16.0,>=0.14.0) ; python_version == "2.7"
Requires-Dist: PyYAML (<5.3,>=5.2) ; python_version == "3.4"
Requires-Dist: pyrsistent (<0.15.0,>=0.14.0) ; python_version == "3.4"
Requires-Dist: PyYAML (>=5.3.1) ; python_version > "3.4"
Requires-Dist: pluggy (>=0.7.1) ; python_version >= "2.7" and python_version <= "3.6"
Requires-Dist: pyrsistent (>=0.14.0) ; python_version >= "3.5"
Requires-Dist: pytest (>=4.3.1) ; python_version >= "3.5" and python_version <= "3.6"
Requires-Dist: pytest (>=4.4.0) ; python_version >= "3.7"
Requires-Dist: pluggy (>=0.13.0) ; python_version >= "3.7"

pytest-easy-server - Pytest plugin for easy testing against servers
===================================================================

.. image:: https://badge.fury.io/py/pytest-easy-server.svg
    :target: https://pypi.python.org/pypi/pytest-easy-server/
    :alt: Version on Pypi

.. image:: https://github.com/andy-maier/pytest-easy-server/workflows/test/badge.svg?branch=master
    :target: https://github.com/andy-maier/pytest-easy-server/actions/
    :alt: Actions status

.. image:: https://readthedocs.org/projects/pytest-easy-server/badge/?version=latest
    :target: https://readthedocs.org/projects/pytest-easy-server/builds/
    :alt: Docs build status (master)

.. image:: https://coveralls.io/repos/github/andy-maier/pytest-easy-server/badge.svg?branch=master
    :target: https://coveralls.io/github/andy-maier/pytest-easy-server?branch=master
    :alt: Test coverage (master)


.. _`Overview`:

Overview
--------

The **pytest-easy-server** package is a `Pytest`_ plugin that provides a
`Pytest fixture`_ fixture `es_server`_ that resolves
to the set of servers the tests should run against.

The set of servers is defined in a *server file* (aka "easy-server file") and
the secrets to access the servers are defined in a *vault file* that is
referenced by the server file, in the formats defined by the
`easy-server package`_.

The files to use and the server or group nickname to select for the test
can be specified in pytest options added by the plugin:

.. code-block:: text

    --es-file=FILE
                            Path name of the easy-server file to be used.
                            Default: es_server.yml in current directory.
    --es-nickname=NICKNAME
                            Nickname of the server or server group to test against.
                            Default: The default from the server file.


.. _`Documentation and change log`:

Documentation and change log
----------------------------

* `Documentation`_
* `Change log`_


License
-------

The pytest-easy-server project is provided under the
`Apache Software License 2.0 <https://raw.githubusercontent.com/andy-maier/pytest-easy-server/master/LICENSE>`_.


.. # Links to documentation:

.. _`Pytest`: https://docs.pytest.org/en/stable/
.. _`Pytest fixture`: https://docs.pytest.org/en/stable/fixture.html
.. _`easy-server package`: https://easy-server.readthedocs.io/en/stable/
.. _`es_server`: https://pytest-easy-server.readthedocs.io/en/stable/api.html#es-server-fixture
.. _`Documentation`: https://pytest-easy-server.readthedocs.io/en/stable/
.. _`Change log`: https://pytest-easy-server.readthedocs.io/en/stable/changes.html


