Avatar for the sparckles user
sparckles
Robyn
BlogDocsChangelog

feat: add in-process TestClient for fast unit testing

#1344Merged
Comparing
feat/testing-client
(
4d3633a
) with
main
(
3e04c65
)
CodSpeed Performance Gauge
0%
Untouched
189

Benchmarks

189 total
test_exception_handling[/sync/get/no_dec-get]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
+1%
3.6 ms3.5 ms
test_sse_basic_headers
integration_tests/test_sse.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 ms
test_json_body_typed[sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
+1%
2.9 ms2.9 ms
test_invalid_authentication_token[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_json_get[/async/json/const-expected_json3]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 ms
test_json_get[/async/json-expected_json1]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_json_get[/sync/json/const-expected_json2]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 ms
test_invalid_authentication_header_trailing_slash[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_add_request_header
integration_tests/test_app.py
CodSpeed Performance Gauge
+1%
677.2 µs673.7 µs
test_custom_openapi_spec
integration_tests/test_openapi.py
CodSpeed Performance Gauge
+1%
742.5 µs738.8 µs
test_basic_get[/async/response/const-async response const get-async_const-response]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
3.3 ms3.3 ms
test_exception_handling[/async/post/no_dec-post]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_invalid_authentication_no_token[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_invalid_authentication_header_trailing_slash[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_http_request_info_get[/sync/http/param-expected_json0]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_multipart_file[sync]
integration_tests/test_multipart_data.py
CodSpeed Performance Gauge
0%
2.9 ms2.8 ms
test_sse_streaming_async_real_time
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
4 ms4 ms
test_global_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
0%
2.6 ms2.5 ms
test_http_request_info_get[/async/http/param-expected_json1]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_invalid_authentication_token_trailing_slash[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_basic_get[/sync/response/const-sync response const get-sync_const-response]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
3.3 ms3.2 ms
test_form_data[sync]
integration_tests/test_multipart_data.py
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms
test_basic_get[/sync/str/const-sync str const get-None-None]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_invalid_authentication_token[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_exception_handling[/async/exception/put-put]
integration_tests/test_exception_handling.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms

Commits

Click on a commit to change the comparison range
Base
main
3e04c65
+0.07%
feat: add in-process TestClient for fast unit testing
f46158c
29 days ago
by sansyrox
+0.08%
[pre-commit.ci] auto fixes from pre-commit.com hooks
b7f293d
29 days ago
by pre-commit-ci[bot]
+0.06%
fix: address review bugs in TestClient request pipeline
6102f39
23 days ago
by sansyrox
-0.16%
fix: resolve middleware lookup, JSON encoding, None handling, and bytes coercion in TestClient
81e2393
9 days ago
by sansyrox
+0.11%
docs: add Testing page for the in-process TestClient
4d3633a
9 days ago
by sansyrox
© 2026 CodSpeed Technology
Home Terms Privacy Docs