Re:Goodbye Microservices: From 100s of problem children to 1...
by dvogel on Wednesday July 11, 2018 @10:14AM
(#17507060)
Sounds like you have tests that need to read (probably cached) data files while the parent poster has tests that need to write to disks (probably in a database transaction). Those are different enough that run times won't ever be comparable.
[ Parent
| on HN ]
Re:Goodbye Microservices: From 100s of problem children to 1...
by inetknght on Wednesday July 11, 2018 @10:24AM
(#17507152)
I have tests that need to read. I have tests that need to write. All data written must also be read and verified. You're right, the data is probably cached.
If you need to access a database in your tests you're probably doing it wrong. Build a mock-up of your database accessor API to provide static data, or build a local database dedicated for testing.