By Psant
via blog.schauderhaft.de
Published: Jan 17 2012 / 00:44
Almost everybody understands that source code belongs into version control. Many people understand we need to test our code. Quite a few do that automatically.
But everything seems to change when it comes to databases. A lot of stuff in and around databases goes untested. Heck some of the scripts don’t even live in version control. If you can’t believe that, because you haven’t seen it, you are a damn lucky bastard.
At least one reason for this state of affairs is obviously: It hurts. Database tests tend to be slow, interdependent and hard to maintain. Granted. But you know what: If it hurts, you should do it more often. It will teach you what exactly the things are that cause pain when testing and eventually you’ll find approaches to make it less painful. Here are some ideas I found helpful when testing database related code:
Add your comment
Voters For This Link (14)
-
cjsmith -
schauder -
fbelh -
mswatcher -
johnfarden -
sbp_romania -
M.C.S. -
skormos -
manupk.tech@gmail.com -
rymeld -
urdumania1 -
mijer -
tomek_k -
devro