Presentation is loading. Please wait.

Presentation is loading. Please wait.

Database unit testing with visual studio 2010 Anthony Brown

Similar presentations


Presentation on theme: "Database unit testing with visual studio 2010 Anthony Brown"— Presentation transcript:

1 Database unit testing with visual studio 2010 Anthony Brown anthony@found-it.net

2 Agenda What is unit testing What is database unit testing When to use it Demo (that will fail….)

3 Rocket science

4 In programming

5

6 Why unit test? Allows you to ensure that individual components do what they are supposed to Catch bugs in development cycle rather than test cycle Easier to refactor

7 It is not a substitute

8 Database unit testing

9

10 Prerequisites Create database in a consistent state Source control database objects Test data

11 Reasons to not write database unit tests CRUD operations Time Management

12 Visual studio 2010 database unit tests Only design in premium & ultimate (run in professional) Integrated with visual studio test framework Can be run as part of continuous integration build Data generator

13 Demo

14 Coming up… # SQLBITS SpeakerTitleRoom Stephan StoltzeWriteback-Here Comes the SunAintree James BootherPOSH ClusteringLancaster Kasper de JongeBuilding Great Models for CrescentPearce Andy LeonardDesigning an SSIS FrameworkBoardroom Milos RadivojevicTSQL Performance RecommendationsEmpire Christina E. LeoWorking with Server Side TracesDerby

15 Picture sources http://www.flickr.com/photos/34388067@N00/150021646/ http://en.wikipedia.org/wiki/File:Argentina_substitute_bench_%E2%80%93_Portugal_vs._Argentin a,_9th_February_2011_%281%29.jpghttp://en.wikipedia.org/wiki/File:Argentina_substitute_bench_%E2%80%93_Portugal_vs._Argentin a,_9th_February_2011_%281%29.jpg


Download ppt "Database unit testing with visual studio 2010 Anthony Brown"

Similar presentations


Ads by Google