Re:Objection to ORM Hatred
by kristiandupont on Monday January 16, 2023 @03:36AM
(#34398345)
I know that a lot of people do this but I would have very little faith in my tests if they were run against a different type of database than my production one.
[ Parent
| on HN ]
Likewise, if there weren't also integration tests that ran against a DB engine more similar to that used in production.
But no unit test environment is every going to emulate everything in production, nor should it.
Re:Objection to ORM Hatred
by damagednoob on Monday January 16, 2023 @04:48AM
(#34398787)
> I would have very little faith in my tests if they were run against a different type of database than my production one.
Hence why they were run against MySql on CI.
Re:Objection to ORM Hatred
by kristiandupont on Monday January 16, 2023 @05:17AM
(#34399022)
Ah, I missed that part. Makes sense.