Skip to main content

Pytest plugin for easy testing against servers

Project description

Version on Pypi Actions status Docs build status (master) Test coverage (master)

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:

--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

License

The pytest-easy-server project is provided under the Apache Software License 2.0.

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-easy-server-0.7.0.tar.gz (15.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_easy_server-0.7.0-py2.py3-none-any.whl (11.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pytest-easy-server-0.7.0.tar.gz.

File metadata

  • Download URL: pytest-easy-server-0.7.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7

File hashes

Hashes for pytest-easy-server-0.7.0.tar.gz
Algorithm Hash digest
SHA256 562dc0ac456eed068944e26376f4193d3e5c43813dc7d57e7266ebb58d43552c
MD5 0cb818fa090039a671d0d316cd98a1d9
BLAKE2b-256 5e8de7a1fb198a8b9ac0e1a15eb4a7fbecc2a1644c5dabc08e1d2ebfe835bacd

See more details on using hashes here.

File details

Details for the file pytest_easy_server-0.7.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pytest_easy_server-0.7.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7

File hashes

Hashes for pytest_easy_server-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 417bd302383870a9392a62f18051ef700176bee1beec3510a84d5aaa2a8645ea
MD5 053d4b54058756b1982a2cd31d067b75
BLAKE2b-256 a0be9326c1f70827b27cbf0f75d482ee6c5b0960a6fd00d83bb3a7a3ed2da147

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