Re:Mocking Is an Anti-Pattern
by Pxtl on Monday June 17, 2024 @01:55PM
(#40708788)
The problem with the CRUD situations is I haven't seen a database that resets to precondition states quickly.
[ Parent
| on HN ]
We built a MySQL-compatible one and are building a Postgres-compatible one :-) Free and open source.
https://github.com/dolthub/dolt
We use the reset functionality to speed up our tests.