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

Document testing requirements #33

Closed
stefanseefeld opened this Issue Jun 2, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@stefanseefeld
Copy link

stefanseefeld commented Jun 2, 2017

Running the test suite via python setup.py test appears to require a pre-existing database to work with.
Is there a subset of the tests that don't have that requirement, i.e. that either create and use a temporary database, or that perform some other simple checks just to verify that the build succeeded ?

I couldn't find any test instruction in https://github.com/oracle/python-cx_Oracle/blob/master/README.md or elsewhere.

Thanks,
Stefan

@cjbj

This comment has been minimized.

Copy link
Member

cjbj commented Jun 2, 2017

Did you see https://github.com/oracle/python-cx_Oracle/blob/master/test/SetupTest.sql ?
This creates a dedicated user for testing.

Yes, doc can be improved. Nudge, nudge @anthony-tuininga

@stefanseefeld

This comment has been minimized.

Copy link
Author

stefanseefeld commented Jun 2, 2017

It would be great if there was some scripting to set up the test database automatically so the tests could be run in a CI environment.

@anthony-tuininga

This comment has been minimized.

Copy link
Member

anthony-tuininga commented Aug 8, 2017

Updated documentation and improved setup of objects required for test suite. See https://github.com/oracle/python-cx_Oracle/tree/master/test.

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