Design For TestabilityGood, Bad and Ugly<br />Gil Zilberfeld<br />Typemock<br />
Who am I?<br />Technical Evangelist at Typemock<br />In software development <br />for 15 years<br />Twitter: @gil_zilberf...
What is Design for Testability?<br />Create components ready for testing<br />TDD drives it<br />
Examples<br />Constructor injection<br />Factory Injection<br />Virtual by default<br />
It’s Good Because…<br />You actually mean it!<br />
And it drives…<br />Decoupling<br />
But beware...<br />The misconception<br />
Design for Testability != Good Design<br />
It can get ugly…<br />Too many factories<br />
Testability is not a goal<br />
This is much better<br />
Questions?<br />Or contact me at:<br />gilz@typemock.com<br />Twitter: @gil_zilberfeld<br />Blog: http://gil-zilberfeld.bl...
Upcoming SlideShare
Loading in...5
×

Design For Testability - The good, the bad and the ugly

1,445
-1

Published on

Given at Knetlik, by Gil Zilberfeld, it is a short presentation about what is design for testability, its uses and misuses.

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
1,445
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
33
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Design For Testability - The good, the bad and the ugly

  1. 1. Design For TestabilityGood, Bad and Ugly<br />Gil Zilberfeld<br />Typemock<br />
  2. 2. Who am I?<br />Technical Evangelist at Typemock<br />In software development <br />for 15 years<br />Twitter: @gil_zilberfeld<br />
  3. 3. What is Design for Testability?<br />Create components ready for testing<br />TDD drives it<br />
  4. 4. Examples<br />Constructor injection<br />Factory Injection<br />Virtual by default<br />
  5. 5.
  6. 6. It’s Good Because…<br />You actually mean it!<br />
  7. 7. And it drives…<br />Decoupling<br />
  8. 8. But beware...<br />The misconception<br />
  9. 9. Design for Testability != Good Design<br />
  10. 10. It can get ugly…<br />Too many factories<br />
  11. 11. Testability is not a goal<br />
  12. 12. This is much better<br />
  13. 13. Questions?<br />Or contact me at:<br />gilz@typemock.com<br />Twitter: @gil_zilberfeld<br />Blog: http://gil-zilberfeld.blogspot.com<br />Typemock: http://www.typemock.com<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×