News for hackers. Stuff that matters.
Re:Don't Use Mocks by sumedh on Tuesday June 20, 2023 @07:25AM (#36402470)
> business level code with side-effecting code (like calling APIs or DBs).

Sometimes the business logic is in DBs with stored procs.

Re:Don't Use Mocks by joeblubaugh on Tuesday June 20, 2023 @07:47AM (#36402681)
That’s a whole other can of worms! The difficulty of versioning stored procedures is such a detriment to effectively using all that power.
Re:Don't Use Mocks by ehutch79 on Tuesday June 20, 2023 @11:10AM (#36405133)
They should be part of your migrations? and your migration should be versioned?