Re:Zen and the Art of Unit Testing
by bradmwalker on Wednesday March 15, 2017 @10:10AM
(#13876188)
Try CREATE TABLE UNLOGGED with postgres. The diversity of RDBMS and SQL dialects defeats the point of integration testing the persistence layer with SQLite.
[ Parent
| on HN ]
Re:Zen and the Art of Unit Testing
by snovv_crash on Wednesday March 15, 2017 @11:56AM
(#13876979)
Yes, but a large portion of code that needs testing is simple inserting, queries and joins, and SQLite can do this without any problems.
You can push complex or db-specific work to slower test groups, but not everything requires it.