timwis / dataface

Build and manage data with a spreadsheet-like interface
https://dataface-demo.herokuapp.com
43 stars 4 forks source link

Add back-end tests #94

Closed timwis closed 7 years ago

timwis commented 7 years ago

Need to figure out how to spin up a throwaway postgres database for each test. In the past I've used a sqlite in-memory db but that won't have feature parity with postgres.

Alternatively, I could just test the query that's generated. The code's structured in a way that would support that very easily.

timwis commented 7 years ago

Added integration tests via dredd. Unit tests would help, but this is fine for this milestone.