Skip to content

test: add API endpoint tests #28

@gordonmurray

Description

@gordonmurray

The CI workflow has a test job, but the actual endpoint tests are commented out. Adding a basic test suite would catch regressions on the read and serialization paths and unblock the existing CI job.

Proposed approach:

  • pytest + FastAPI TestClient
  • A small fixture that creates a sample Lance dataset in a tmpdir
  • Coverage for /healthz, /datasets, /schema, /columns, /rows, and /vector/preview, including pagination, column filtering, and the graceful-degradation path on unreadable datasets
  • Uncomment and update the CI test job

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions