antonlindstrom/pgstore

Use of gorp makes testing really difficult

wchrisjohnson opened this issue · 6 comments

Great package, thanks very much for your efforts!

We have an app that is using this pkg, and have found writing tests to be really difficult due to the dependence on gorp. Why was this approach chosen vs just interacting with Postgres directly? How do users of this pkg in their apps do unit testing?

Sorry for the late response! Currently I haven't done that much of the unit testing without a database backing it up. I saw the PR, awesome effort to remove Gorp, thank you!

Yeah, as long as it's no breaking changes from the gorp implementation I'm totally up for removing the dependency. Thank you!

Fantastic! We are trying to get a software release out the door so I'd like to get this finished up ASAP. I'll update the PR shortly.

Thank you!

#22

#22 has now been updated and is basically passing all the unit tests. The Travis config for Go 1.5 looks to be the only issue with getting all green.

@antonlindstrom

Thanks for merging, @antonlindstrom !!!