Segfault-Inc / Multicorn

Data Access Library
https://multicorn.org/
PostgreSQL License
697 stars 145 forks source link

How to run tests #229

Closed madflow closed 4 years ago

madflow commented 4 years ago

Hi there!

I am evaluating Multicorn if it would be suitable for our tech stack. We usually only allow libraries that have reproducible tests and some sort of continous testing in place.

I can see that Multicorn has tests - so I wanted to run them and then introduce a Travis integration per PR. But - I am not able to run the tests and I cannot find a documentation how to do so.

I created a virtualenv and installed sqlalchemy, psycopg2, docutils and pytest because there are some references in the Makefile. However: I cannot execute tests or more precise I do not know how this is supposed to work. Just running pytest throws some errors. Downgrading pytest throws other errors. I feel like I need precise version contraints of the libraries...

Some guidance would be great.