SPUD
Stop planting the same test framework over and over again.
Spud is a Python testing framework for QA engineers who don't want to rebuild the same setup every time they join a new project.
It comes with the stuff you usually end up writing anyway, but doesn't lock you into one way of doing things. Use what you need, replace what you don't, or build on top of it.
Plant once. Grow tests.
Installation
pip install spud-testing
Quick start
from spud import ApiClient
client = ApiClient(base_url="https://jsonplaceholder.typicode.com")
response = client.get("/users/1")
response.check.status(200).json_path("id", 1)
print(response.json())
Features
- HTTP methods: GET, POST, PUT, PATCH, DELETE
- Configurable base URL and request headers
- Query parameters and JSON request bodies
- Pluggable HTTP transport (httpx by default)
- HTTP status assertions
- JSON path assertions with nested objects and arrays
- Strict JSON value comparison
- Chainable response assertions
Metadata
Release files for spud-testing 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spud_testing-0.1.0.tar.gz | 8.7 kB | Without provenance | Details for spud_testing-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spud_testing-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for spud_testing-0.1.0-py3-none-any.whl |
Total release size: 15.2 kB
Release files / spud_testing-0.1.0.tar.gz
| Download URL | spud_testing-0.1.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6369d50aa6ae93a7cdda0a4830e3d9fd46f3a5457c1a76453cc1c7aa41150b97
|
|
BLAKE2b-256 checksum How to use checksums |
1818ba889525d2f2bfeb0a818b18231ced54aa29b4485cb2ec54202971addd0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|
Release files / spud_testing-0.1.0-py3-none-any.whl
| Download URL | spud_testing-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f00f008036e0e27528740e52b82dfb5eb62d62ac6d32a0ea7f2146dcdf63ce5e
|
|
BLAKE2b-256 checksum How to use checksums |
4a35394e2e05e3f184230a6e8fdabd577ff055887e127f46d91f6471929e3373
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|
Security for spud-testing 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.