Avatar for the sparckles user
sparckles
Robyn
BlogDocsChangelog

feat: add in-process TestClient for fast unit testing

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

Benchmarks

189 total
test_json_get[/async/json/const-expected_json3]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.7 ms2.6 ms
test_invalid_authentication_token[sync]
integration_tests/test_authentication.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.6 ms
test_exception_handling[/async/post/no_dec-post]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 ms
test_invalid_authentication_header_trailing_slash[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_json_get[/async/json-expected_json1]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_invalid_authentication_header_trailing_slash[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_http_request_info_get[/sync/http/param-expected_json0]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 ms
test_local_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
+1%
2.5 ms2.5 ms
test_invalid_authentication_token[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_json_get[/sync/json-expected_json0]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_http_request_info_get[/async/http/param-expected_json1]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.7 ms2.7 ms
test_default_url_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
+1%
2.5 ms2.5 ms
test_basic_get[/async/response/const-async response const get-async_const-response]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
3.3 ms3.3 ms
test_basic_get[/async/str-async str get-None-None]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_invalid_authentication_token_trailing_slash[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_valid_authentication_trailing_slash[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.7 ms2.6 ms
test_exception_handling[/sync/put/no_dec-put]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
+1%
2.7 ms2.6 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_valid_authentication_trailing_slash[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_split_request_params_get_body[split_request_typed-sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_json_body_bare[async]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_exception_handling[/sync/post/no_dec-post]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_sse_json_data
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.7 ms2.6 ms
test_basic_get[/sync/response-sync response get-sync-response]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
3.2 ms3.1 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
9 days ago
by sansyrox
+0.08%
[pre-commit.ci] auto fixes from pre-commit.com hooks
b7f293d
9 days ago
by pre-commit-ci[bot]
+0.06%
fix: address review bugs in TestClient request pipeline
6102f39
3 days ago
by sansyrox
© 2026 CodSpeed Technology
Home Terms Privacy Docs