Skip to content

Expand DB adapter test coverage and contracts#26

Merged
nicosuave merged 4 commits intomainfrom
nicosuave/testing-gaps
Jan 3, 2026
Merged

Expand DB adapter test coverage and contracts#26
nicosuave merged 4 commits intomainfrom
nicosuave/testing-gaps

Conversation

@nicosuave
Copy link
Copy Markdown
Member

This adds thorough, per-adapter unit tests for DB adapters and new core tests.

  • Per-adapter DB coverage: URL parsing edge cases, invalid URLs, executemany semantics, get_tables/get_columns SQL, query history SQL, result wrapper ordering/exhaustion, Arrow conversion (optional deps), and injection-surface checks.
  • Added core tests for dialect parsing, time intelligence, schema generation, CLI wiring, and MCP errors.
  • Added server tests for Postgres wire protocol helpers.

Tests:

  • uv run --extra dev --extra lsp pytest -m 'not integration'

@nicosuave nicosuave merged commit 43a7373 into main Jan 3, 2026
10 checks passed
@nicosuave nicosuave deleted the nicosuave/testing-gaps branch January 3, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant