Commit f224fcc
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
0 commit comments