gagandeepb / Frames-beam

Accessing Postgres in a data frame in Haskell
BSD 3-Clause "New" or "Revised" License
24 stars 3 forks source link

Add tests #9

Closed ocramz closed 6 years ago

ocramz commented 6 years ago
gagandeepb commented 6 years ago

About unit tests: how can I set up a replicable database environment so anyone cloning the repo is able to run the unit tests which will depend on a particular db name with certain table(s)/data in it ?

Similar question for Travis: is it possible to set up a database with a particular schema, filled with some mock data that Travis can use to run some tests against?

gagandeepb commented 6 years ago

Done. Integration tests added.