Database Testing - Minimizing "If it can break, it will." Mladen Prajdić SQL Server MVP
Welcome to Slovenia. Population: Awesome! About me
How many are doing database testing? How many are doing any kind of testing? Quick poll
Agenda Why test Non technical obstacles What do we need Types of testing Examples
Why test? Confidence in code
Why test? Always valid documentation
Why test? Sleeping well at night
Agenda Why test Non technical obstacles What do we need Types of testing Examples
Non technical obstacles Peers
Non technical obstacles Management
Non technical obstacles You. Discipline!
Agenda Why test Non technical obstacles What do we need Types of testing Examples
What do we need Test lab
What do we need Testing tool
What do we need Source control
What do we need Schema comparison tool
What do we need (Semi)Continuous integration
Agenda Why test Non technical obstacles What do we need Types of testing Examples
Types of testing White boxBlack box
Types of testing Unit testing
Types of testing Integration & acceptance testing
Types of testing Error testing
Types of testing Stress testing
Types of testing Other...
Agenda Why test Non technical obstacles What do we need Types of testing Examples
Testing database interface Testing schema Testing tables, views, UDFs Testing stored procedures
The most important slide of the presentation! Test RESTORING database BACKUPS!
Quick summary Start working around obstacles Think about what you need to test Get tooled up Do it! Sleep better and spend more time doing other things you like So....
Quick summary... please test. Because...
Picture sources