Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

Unit Testing T-SQL Code with tSQLt

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.

Intermediate
3h 1m
(139)

Created by Dave Green

Last Updated Jun 17, 2024

Course Thumbnail
  • Course

Unit Testing T-SQL Code with tSQLt

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.

Intermediate
3h 1m
(139)

Created by Dave Green

Last Updated Jun 17, 2024

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Data
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 go 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 armoury. The methods shown in this course apply to SQL Server versions 2005 and above.

Unit Testing T-SQL Code with tSQLt
Intermediate
3h 1m
(139)
Table of contents

About the author
Dave Green - Pluralsight course - Unit Testing T-SQL Code with tSQLt
Dave Green
2 courses 3.8 author rating 230 ratings

Dave is a data management specialist with more years' experience within the IT industry than he likes to admit. Dave focuses on databases and good development practices.

Get started with Pluralsight