Unit Testing your Database Changes | The DevOps Lab

This post has been republished via RSS; it originally appeared at: Channel 9.

Damian meets with Hamish Watson at the MVP Summit to talk about testing your database changes. Unit testing is vital in a good process but tests don't often extend to the database. Can it be done at all? And do DBAs have to learn a new language? Hamish shows us two tools that can help you write database tests, in TSQL, and run them as part of your CI/CD pipeline.


tSQLt: http://tsqlt.org/

Unit Tests for SSDT Projects: https://aka.ms/SSDTTests

Hamish's Blog: https://hybriddbablog.com/


Follow Hamish on Twitter: @TheHybridDBA

Follow Damian on Twitter: @damovisa

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.