#tSQLt
Automated Database Testing with Redgate SQLCop

SQLCop offers 100+ open-source tests to enhance database security and standardisation.

See my latest blog post on how to install, run and apply SQLCop to your SQL Server setup.

www.leebrownhill.com/posts/8_redg...

#SQLServer #Redgate #SQLCop #tSQLt
Redgate SQLTest and SQLCop
SQLCop, part of Redgate SQL Test, provides over 100 tSQLt-based tests to standardise databases, enforce best practices, and detect common issues. It helps teams adopt structured SQL Server unit testin...
www.leebrownhill.com
June 11, 2025 at 6:48 AM
The only slightly justifiable use for this I've seen is in tsqlt. But you could accomplish the same with table variables.
December 16, 2023 at 2:21 PM
All the more tSQLt goodness here

Try it out and let the wonderful folk know how it is going https://twitter.com/sqlity/status/1318897532743962624
November 23, 2024 at 12:32 PM
Just discovered @SQLStad's tSQLt test generator https://github.com/sanderstad/PStSQLtTestGenerator. It builds basic unit tests from database metadata - really useful for "catching up" when you're adding unit testing to an existing database for the first time.
GitHub - sanderstad/PStSQLtTestGenerator: PowerShell modu...
PowerShell module to generate tSQLt tests. Contribute to ...
github.com
February 17, 2025 at 10:19 PM
Want to play with tSQLt?
Be good if it was all set up in a linux container?

docker pull sqldbawithabeard/tsqlt

SQL2017 Linux container with the examples as well
November 21, 2024 at 6:49 PM
Learning how to write unit tests for SQL using tSQLt. Very interesting how this works.
November 16, 2024 at 8:59 PM
Yeah… nothing like the fresh smell of tSqlT tests in the morning :) Happy Friday!
November 18, 2024 at 1:40 AM
Current status: Writing tSQLt tests for legacy stored procs
So. much. this:
November 18, 2024 at 1:40 AM
Rocked out some #tsqlt tests today :D
November 18, 2024 at 1:40 AM