> Assuming you use an ORM, do you test it’s logic? Because if you don’t, then what’s the difference?
You don't test the ORM, you test your models. If you're writing db procesures you'd test the procedures, not the db's procedure engine.
But yeah, you should be doing your testing in a test database already. The only problem I see is that you might have a tighter coupling between db schema version and software version with procedures (although then again, you could avoid that if you're careful and make it less coupled)
You don't test the ORM, you test your models. If you're writing db procesures you'd test the procedures, not the db's procedure engine.
But yeah, you should be doing your testing in a test database already. The only problem I see is that you might have a tighter coupling between db schema version and software version with procedures (although then again, you could avoid that if you're careful and make it less coupled)