Session #2: Test Driven Development

632 views
575 views

Published on

Session #2: Test Driven Development: Improving .NET Application Performance & Scalability
Presented by: Jerry Nixon

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
632
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Session #2: Test Driven Development

  1. 1. Jerry
  2. 2. And other world religions • What is it & Why TDD? • Software Unit Tests in VSTS • Database Unit Tests in VSTS • VSTS for DB Pros GDR
  3. 3. Users don’t know what they want  Users can’t communicate what they want  Users change their minds  Requirements aren’t documented  Expectations aren’t established  Developers haven’t documented 
  4. 4. NOT A TEST PATTERN
  5. 5. Can you Afford Change? Impulse Buying: Impulse Building  Late Payments: Late Changes  Bankruptcy: Project Rewrite 
  6. 6. Write tests to ensure code executes properly  Write tests to ensure code fails properly  Write a test as if it is the only test  Write a test to test small code blocks  DEMO…
  7. 7. VSTS for Database Professionals GDR  Select Connections  Validate Results  Generate Data  Manage Transactions  DEMO…
  8. 8. 100% 100 90% 90 80% 80 70% 70 60% 60 Pass Inconclusive 50% 50 Fail Bugs 40% 40 Coverage 30% 30 20% 20 10% 10 0% - It #1 It #2 It #3 It #4 It #5 It #6 It #7 It #8 It #9 It #10
  9. 9.  TDD is a Design Pattern  Testability & Design Debt  Unit Tests help document  Unit Test your Database  Slow Cultural Change
  10. 10. http://jerrytech.blogspot.com jerry@nixoncorp.com

×