10 Secret Unit Testing Tips

1,041 views
965 views

Published on

I gave this presentation at Deerfield Beach .Net UG in Nov-2011. It;s beginner to mid level, and not too technical.

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

  • Be the first to like this

No Downloads
Views
Total views
1,041
On SlideShare
0
From Embeds
0
Number of Embeds
446
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

10 Secret Unit Testing Tips

  1. 1. 10 SecretUnit Testing TipsGil Zilberfeld,Product Manager7-Nov-2011
  2. 2. Tip #1Automate, automate,and automate some more!
  3. 3. Tip #2 Test what you’re working on
  4. 4. Tip #3 Unit testing is a team sport
  5. 5. Tip #4 Coverage can be deceiving
  6. 6. DemoThe 100% Coverage Magic Trick
  7. 7. Tip #5 Unit testing is all about quick feedback
  8. 8. Tip #6Organize your tests
  9. 9. Tip #7The 3 Rules ofIsolation • Make it quick • Make it real • And…
  10. 10. Cone of Dependency GUI BLL DAL ORM DB
  11. 11. Tip #7The 3 Rules ofIsolation • Make it quick • Make it real • Make it last
  12. 12. Tip #8 Try Test Driven Development
  13. 13. Tip #9 Give Names Like a Detective
  14. 14. Tip #10 Readability first!
  15. 15. Win a TypemockIsolator license! http://www.typemock.com/win
  16. 16. Questions?www.typemock.com www.gilzilberfeld.comblog.typemock.com gilz@typemock.com@typemock @gil_zilberfeld

×