Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance testing by increasing test coverage #3

Closed
wants to merge 1 commit into from

Conversation

runoshun
Copy link
Owner

@runoshun runoshun commented Jan 6, 2025

Add more unit tests to cover edge cases and potential error scenarios for insert, update, and select operations.

  • tests/insert_update.test.ts

    • Add tests for insert with missing fields, insert with null values, update with non-existing condition, and update with null values.
  • tests/select.test.ts

    • Add tests for select with non-existing condition, select with null values, select with multiple conditions, select with order by, and select with limit.
  • tests/test_common.ts

    • Add additional test data for edge cases and potential error scenarios.

For more details, open the Copilot Workspace session.

Add more unit tests to cover edge cases and potential error scenarios for insert, update, and select operations.

* **`tests/insert_update.test.ts`**
  - Add tests for insert with missing fields, insert with null values, update with non-existing condition, and update with null values.

* **`tests/select.test.ts`**
  - Add tests for select with non-existing condition, select with null values, select with multiple conditions, select with order by, and select with limit.

* **`tests/test_common.ts`**
  - Add additional test data for edge cases and potential error scenarios.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/runoshun/kysely-duckdb?shareId=XXXX-XXXX-XXXX-XXXX).
@runoshun runoshun closed this Jan 6, 2025
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