Browsing All Posts filed under »TDD«

Inserting the results of a stored procedure into a table

October 18, 2012

0

Recently, I needed to find out the schema of a resultset returned by a Stored Procedure so I could pass some failing SQL Unit Tests. I needed to know the columns, the column order and exact datatypes. Without access to a client to run the procedure I needed a way to do this with just […]

Testing tools for SQL development

August 22, 2012

2

I’ve recently put together an article on using SQL Test/tSQLt, which you can find here. However, I wanted to briefly talk about the alternatives as I see them. Before any commercial testing tools were around we could just use a combination of manual scripts that called procedures and used temporary tables to hold data. It […]

Test Driven Development in the world of SQL

August 22, 2012

7

Any software/web developer worth hiring would tell you that Test Driven Development is important. Although it takes time to do properly,  It can increase productivity as features tend to be developed with a clearer understanding of the problem and make changing business requirements much easier to implement. Importantly, your code quality will improve and there […]

SQL Server Test Driven Development with Redgate’s SQL Test

August 13, 2012

0

I’ll be providing a more detailed post on this shortly, in the meantime please check out http://www.red-gate.com/products/sql-development/sql-test/. SQL Test internally uses tSQLt, a popular open source framework, combined with Redgate’s expert knowledge of providing add-ons to management studio means that we now have an integrated toolset for test driven development in the SQL world. Why […]