Re:I Accidentally Saved My Company Half a Million Dollars
by hightrix on Monday October 30, 2023 @12:12PM
(#38071452)
We tend to only test what is being tested. So, most DB calls are mocked in our unit tests. For stored procs or other tests that need to be run on a DB, we use a test DB that is setup to mirror production.
I'd bet there are a 100 different answers to your question though. This is the way we handle it.
I'd bet there are a 100 different answers to your question though. This is the way we handle it.