Prefer testing through public APIs
This commit is contained in:
@@ -68,7 +68,7 @@ TEST_CASE("HttpHandler route parsing") {
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("HttpHandler route parsing functionality") {
|
||||
TEST_CASE("HttpHandler route parsing edge cases") {
|
||||
// Test just the static route parsing method since full integration testing
|
||||
// would require complex Connection setup with server dependencies
|
||||
|
||||
|
||||
@@ -35,7 +35,8 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
TEST_CASE("Echo server with connection ownership transfer") {
|
||||
TEST_CASE(
|
||||
"Server correctly handles connection ownership transfer via pipeline") {
|
||||
weaseldb::Config config;
|
||||
config.server.io_threads = 1;
|
||||
config.server.epoll_instances = 1;
|
||||
|
||||
Reference in New Issue
Block a user