Pytest plugin for easy testing against servers
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytest-easy-server-0.6.0.tar.gz
.
File metadata
- Download URL: pytest-easy-server-0.6.0.tar.gz
- Upload date:
- Size: 15.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb417667efcd8122c90e55d21e4af02492f5573c0ff06b19caf0cc331f12c529 |
|
MD5 | 479aa51ec7a762f7673ad01bbc5f54ec |
|
BLAKE2b-256 | b70100125a0dd6dd4183e4050e5b597f4d732ee4ee11c701f495c6902e0711c2 |
File details
Details for the file pytest_easy_server-0.6.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_easy_server-0.6.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1795246e27726520f6e3a79504bc1dc4819a33a30135e83cacdbe525d2860a4f |
|
MD5 | 30bb3c0239fb633b2836940352880ae1 |
|
BLAKE2b-256 | b409a0cc047cae1a90a89e54a5b51bb73b9282e3fe0796c1cc1675184e33611a |