Re:Mocking Is an Anti-Pattern
by alexfromapex on Monday June 17, 2024 @08:17PM
(#40712732)
If you need to test collation or some database implementation detail, that is the exception where it may be good to use a real database but certainly is not the rule.
Re:Mocking Is an Anti-Pattern
by Foobar8568 on Tuesday June 18, 2024 @01:08AM
(#40714238)
Collation, localization ( Switzerland is a mess on .Net, I don't want to imagine other frameworks) etc.
I ended up a few times with discrepancy in the format (excel, .net and windows ) because someone changed it.
I love EntityFramework, it's easily the best ORM I have ever used but it has a few cross-platform footguns that require testing against the actual database service you're using.