Simple play icon Course
Skills Expanded

Unit Testing T-SQL Code with tSQLt

by Dave Green

Covering how and why to unit test, examples and potential pitfalls, this course leads the SQL developer through using an open source framework to add unit tests to existing as well as new database developments.

What you'll learn

SQL Server developers have, until recently, been unable to benefit from unit testing to produce reliable code which can be properly regression tested at the unit level.

Covering how and why to unit test, examples and potential pitfalls, this course leads the SQL developer through how to use tSQLt when going about adding unit tests to existing as well as new database developments.

We will be using the tSQLt open source framework and the Red Gate SQL Test tool to show how to easily add database unit testing to your development armory. The methods shown in this course apply to SQL Server versions 2005 and above.

Learn more about T-SQL unit testing with tSQLt today!

Table of contents

About the author

Dave is a data management specialist with more years' experience within the IT industry than he likes to admit. He has previously worked as a technical consultant, systems integrator and a SQL Developer. He regularly attends SQL Server community events to share knowledge, gain tips and solve problems. Dave is a keen sailor and when not working can be found sailing, walking or drinking coffee by the sea. Dave lives on the south coast of England, with his wife and son.

Ready to upskill? Get started