-
Notifications
You must be signed in to change notification settings - Fork 76
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
remove duplicated integration tests #827
Comments
To clarify this issue, I should remove the duplicate |
yes. but those are some that I found. you might encounter other duplicated tests, so take look at the testing files. see if you spot anything duplicated |
I have attempted to run the integration tests using
It seems I am missing some setup but I cannot find a guide to running integration tests specifically. Is there anywhere else I can refer to troubleshoot this issue? Must I spin up an instance of each DB individually to ensure tests run correctly? |
we have an integration testing guide here: https://jupysql.ploomber.io/en/latest/community/developer-guide.html#integration-tests there's a command there that shows you how to run tests for specific dbs looks like you're missing some dependencies, so you need to install them. the integration tests automatically spin up a database and shut it down (except for snowflake and redshift). the guide might be inaccurate since we haven't updated it so if you find any inaccuracies, open a PR. |
Thank you, I was able to solve most of the dependency issues with the guide. Will continue working |
After following the developer guide I have fixed a few issues however I am still not able to get integration tests for Oracle or MSSQL working. To run the tests, I ensure that Docker is running and execute Oracle Tests: MSSQL Tests: Thus far, I have tried:
The issue may be related to Apple Silicon, as I am running everything on Apple M1 Macbook Pro. Please let me know if these are known issues. I am aware that running integration tests locally is tricky, so I'll continue looking for workarounds. |
at this point, it might be better to just run them in the CI, so you don't have to find workarounds |
we have some duplicate integration tests, instead we should only write them once and parameterized them, just like we are already doing with many of our integration tests:
https://github.com/search?q=repo%3Aploomber%2Fjupysql%20test_query_count&type=code
The text was updated successfully, but these errors were encountered: