Commit 0334db5
committed
Add proper endtoend test for DuckDB in testdata
Creates internal/endtoend/testdata/duckdb_basic/duckdb/ with:
- schema.sql: Basic authors table
- query.sql: CRUD operations (GetAuthor, ListAuthors, CreateAuthor, DeleteAuthor)
- sqlc.yaml: DuckDB engine configuration
- go/: Expected generated output (db.go, models.go, query.sql.go)
Test automatically discovered by TestReplay and passes:
✅ TestReplay/base/duckdb_basic/duckdb (0.01s)
This follows the project's endtoend testing conventions where tests
live in internal/endtoend/testdata/ rather than just examples/.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent e1bef7e commit 0334db5
File tree
6 files changed
+148
-0
lines changed- internal/endtoend/testdata/duckdb_basic/duckdb
- go
6 files changed
+148
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 77 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments