tSQLt Beyond Stored Procedures: Testing Triggers, Views, and Functions
Most tSQLt tutorials start with stored procedures, and for good reason — that's where most of the testable business logic lives. But triggers, views, and scalar functions all contain logic worth testing, and tSQLt handles all of them with the same core primitives. Testing Triggers Triggers are the hardest