10 secret unit testing tips
DESCRIPTION
I gave this presentation at Deerfield Beach .Net UG in Nov-2011. It;s beginner to mid level, and not too technical.TRANSCRIPT
Gil Zilberfeld,Product Manager
7-Nov-2011
10 Secret Unit Testing Tips
Tip #1
Automate, automate, and automate some
more!
Tip #2
Test what you’re working on
Tip #3
Unit testing is a team sport
Tip #4
Coverage can be deceiving
Demo
The 100% CoverageMagic Trick
Tip #5
Unit testing is all about quick
feedback
Tip #6
Organize your tests
Tip #7
The 3 Rules of Isolation•Make it quick•Make it real•And…
Cone of Dependency
GUI BLL DAL ORM DB
Tip #7
The 3 Rules of Isolation•Make it quick•Make it real•Make it last
Tip #8
Try Test Driven Development
Tip #9
Give Names Like a Detective
Tip #10
Readability first!
Win a Typemock Isolator license!
http://www.typemock.com/win
Questions?
www.typemock.com
blog.typemock.com
@typemock
www.gilzilberfeld.com
@gil_zilberfeld