Adam Brown
07/19/2024, 11:03 PMFakeFileSystem
which makes the testing very easy to setup and cleanup. For the database, I can inject a sqlite driver and configure it for in memory. but the problem is these are end-to-end tests, so I have a fair bit of setup. and I'm struggling with how to easily populate these test databases. what I'd really like to do is just take a sqlite file, copy that into my fake file system. and then have a sqlite driver that accepts a file system object. but how do other people go about populating their database for tests?jw
07/19/2024, 11:04 PMjw
07/19/2024, 11:05 PMjw
07/19/2024, 11:05 PMAdam Brown
07/19/2024, 11:05 PMAdam Brown
07/19/2024, 11:06 PM