Test HTTP APIs using plain configuration in JSON.
Project description
pyapitest
Test HTTP APIs using plain configuration in JSON.
Objectives
Create a HTTP request testing tool that is uses tests written soley in JSON.
Make configurations simple, non-repetitive and matched to parameters passed to requests
Be a tool to use within the testing framework of the users’ choice, not provide a standalone solution.
Status
Currently in development. I am building it along side writing tests for an existing application, features will be added on an as-needed basis. Specifically the use of the modules jsonschema and jmespath will be implemented after the basics are all addressed. JSON is going to be the default supported config and request/response format, but will be written so that anything that can become a dict can be used.
Development/Testing
pip install pytest bottle six requests cerberus
You’ll find a script for running tests, and a test HTTP server in the root of the repo.
Acknowledgements
I thought the YAML configs used for pyresttest were a clean way to write tests for API endpoints, but wanted to make a tool more easily maintained.
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 pyapitest-0.0.1.dev4.tar.gz
.
File metadata
- Download URL: pyapitest-0.0.1.dev4.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8634e023d3181179ddd0d501b82096ebfb6e22e0e6c1827006d0fc1d32a58e5b |
|
MD5 | e0ee28ab7f44a8525cd0fb2c4b5e8bf6 |
|
BLAKE2b-256 | 1915b5a2b27f0a35822780b4ffbf21883298e4e554f1807af900918fde816cf8 |
File details
Details for the file pyapitest-0.0.1.dev4-py2.py3-none-any.whl
.
File metadata
- Download URL: pyapitest-0.0.1.dev4-py2.py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fbba7bbc9749d9d20c7a1493c19bfd29bf2d3f4f4f2becd02f459ff1c449b8e |
|
MD5 | b1331b97ad9fe6ad361b5743756f4efe |
|
BLAKE2b-256 | 1fd19c58b42ede00a979d0ce64f9a7330c0acfd40ea6704c23d5f1966241ab01 |