What is good way of doing Database Unit testing
-
18-09-2019 - |
Question
We are using Power Designer for Database Modelling and whenever something is changed in model (column name, datatypes etc) have go back and test all depended stored procedures and fix them accordingly.
What would be the best tool to do unit testing of database.
Thanks
Solution
I've used DBFit (open source) for unit testing stored procs.
To approach the problem from a different angle, if you're using SQL Server, you might find the newly-released (free) SQL Search a useful tool for tracking down dependencies.
OTHER TIPS
You might want to take a look at DBUnit - it's definitely worth giving a try.
If this is MS-SQL, someone just asked: what is the best tool to get all the dependencies between all the objects?
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow