Skip to content

Add sqlmock-based tests for the database package #92

Description

@DeleMike

Terms

Description

sqlmock tests for database/table.go, language.go and versions.go: TableExists, GetTableSchema rejecting invalid names before querying, GetTableData type conversion, code lowercasing and regex extraction, the 1970-01-01 version fallback, and the upsert.

Contribution

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedAnother issue is blockingtestingRelates to tests or test coverage

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions