Skip to content

Commit f224fcc

Browse files
committed
test: add query_executor unit tests
Add comprehensive unit tests for QueryExecutor covering: - Constructor and setup methods - CREATE/DROP TABLE with various types - INSERT single/multiple rows with column lists - SELECT with projections, WHERE, ORDER BY, LIMIT/OFFSET - Aggregates: COUNT, SUM, GROUP BY - UPDATE and DELETE with conditions - Transaction control: BEGIN, COMMIT, ROLLBACK - Transaction isolation (MVCC) - CREATE/DROP INDEX - JOIN operations (inner, left) - Invalid SQL handling Part of ongoing coverage improvement effort.
1 parent 4dd759a commit f224fcc

2 files changed

Lines changed: 468 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ if(BUILD_TESTS)
137137
add_cloudsql_test(storage_manager_tests tests/storage_manager_tests.cpp)
138138
add_cloudsql_test(rpc_server_tests tests/rpc_server_tests.cpp)
139139
add_cloudsql_test(operator_tests tests/operator_tests.cpp)
140+
add_cloudsql_test(query_executor_tests tests/query_executor_tests.cpp)
140141

141142
add_custom_target(run-tests
142143
COMMAND ${CMAKE_CTEST_COMMAND}

0 commit comments

Comments
 (0)