by data-centric on November 19, 2017
Having used RedGate’s SQL Source Control for many years, I have recently started using their ReadyRoll product. I like the idea of separating the tSQLt framework and tests into a different project (entirely separate from the application objects) and I also like the hybrid approach of using proper migrations for tables whilst still treating procedures, views and functions etc. as code. I am a huge fan of TDD for databases and in this post I talk about one way of integrating ReadyRoll and tSQLt – specifically setting up your development projects.
[click to continue…]
by data-centric on November 30, 2012
I did promise to announce the winners of the SQL Test competition I ran recently on this blog.
I would like to thank Carol D for her excellent write up on her experiences. Carol gained a lot from trying her first code kata but especially the discipline of writing tests first for small pieces of functionality at a time. Steve also made another good contribution and describes the new experience of using TDD to write SQL. The other winners were Alex, Arthur and Manoj. Thanks to all the contributors for making it such an interesting discussion.