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

Test library execution against Clickhouse engine #54

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

smoothml
Copy link
Contributor

There has been a couple of recent issues in which test execution failed in certain scenarios (#48 and #53). These weren't caught by the libraries test as it would require executing actual tests against actual SQL queries. This commit will add a framework for running these tests against a running database engine (Clickhouse in the first instance) to better enable these kinds of bugs to be caught.

@smoothml smoothml self-assigned this Apr 10, 2024
@smoothml smoothml force-pushed the clickhouse-test-environment branch from 23de1bd to f99c2e5 Compare April 10, 2024 13:59
@smoothml smoothml requested a review from Somtom April 10, 2024 14:01
@smoothml smoothml changed the title Draft: Test library execution against Clickhouse engine Test library execution against Clickhouse engine Apr 10, 2024
Copy link
Collaborator

@Somtom Somtom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really cool initiative. Thanks for creating this!
There is only one thing I'd like to discuss regarding how to flag the tests.

There has been a couple of recent issues in which test execution failed
in certain scenarios (#48 and #53). These weren't caught by the
libraries test as it would require executing actual tests against actual
SQL queries. This commit will add a framework for running these tests
against a running database engine (Clickhouse in the first instance) to
better enable these kinds of bugs to be caught.
@smoothml smoothml force-pushed the clickhouse-test-environment branch from f99c2e5 to 16ec1f2 Compare April 11, 2024 09:23
Copy link
Collaborator

@Somtom Somtom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Let's merge that and test it out :)

@smoothml smoothml merged commit 9e6c1ef into main Apr 12, 2024
3 checks passed
@smoothml smoothml deleted the clickhouse-test-environment branch April 12, 2024 05:51
smoothml added a commit that referenced this pull request Apr 16, 2024
This commits will extend the `Makefile` introduced in #54 to include a
`lint` command and the `test-package.yml` GitHub actions template
updated to make use of the `make` commands. Additionally, linting will
be applied to the codebase.
@smoothml smoothml mentioned this pull request Apr 16, 2024
smoothml added a commit that referenced this pull request Apr 17, 2024
This commits will extend the `Makefile` introduced in #54 to include a
`lint` command and the `test-package.yml` GitHub actions template
updated to make use of the `make` commands. Additionally, linting will
be applied to the codebase.
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.

2 participants