Skip to main content

fastapi-test-core

Core testing utilities for FastAPI services.

  • MockStack, MockConfig, MockSQLCursor — lightweight mocks activated as a stack;
  • FixtureFactory, configuration_fixture — register domain fixtures from static methods, read config from a pytest marker;
  • as_async_generator, as_coroutine, asynchronous_calling, DeferredAsyncTask — async helpers;
  • assert_status_code, assert_api_error, assert_json_response — API response checks for httpx / requests / TestClient;
  • JSONResponseDict, JSONResponseList, batch — response structures and reducers.
pip install fastapi-test-core

Metadata

Release files for fastapi-test-core 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-test-core 1.1.0
File Size Uploaded
fastapi_test_core-1.1.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-test-core 1.1.0
File Interpreter ABI Platform
fastapi_test_core-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / fastapi_test_core-1.1.0.tar.gz

Download URL fastapi_test_core-1.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
49cc70d373cd1b0edbbbc019684fafad92f6684d905fdc74a6a1156bd9ba7d93
BLAKE2b-256 checksum
How to use checksums
bf9937abead7caf93474d8ade0da1900a394bddeb04423145a8836b4a09f776f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / fastapi_test_core-1.1.0-py3-none-any.whl

Download URL fastapi_test_core-1.1.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1721b8ebf010cba8e68dba964eb84f58917398e41e36e5cfb5e7a0905484310
BLAKE2b-256 checksum
How to use checksums
3b0d2ad217087db8d326b3ee540473cc4ab6bebef59df20623e7061131c12bf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release history Release notifications | RSS feed

1.2.0

2 release files

This release

1.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page