Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

20100925xutp

947 views

Published on

  • Be the first to comment

  • Be the first to like this

20100925xutp

  1. 1. Configurable Test Double 2010 9 25
  2. 2. Test Double Configuration Test Double Test Double Test Code Dupication 2010 9 25
  3. 3. How It works Test Double SUT setup Test Double 2010 9 25
  4. 4. When to Use it (Test Double ) Test Code Duplication Obscure Test (Obscure Test) Test Double Hard-Coded Test Double 2010 9 25
  5. 5. Implemention Notes Test Double Configuration test Double Test Stubs Test Splies Mock Objects 2010 9 25
  6. 6. Configurable Test Double 2 (1)Configurable Test Double (2)Configurable Test Double 2010 9 25
  7. 7. Configuration Test Double 2010 9 25
  8. 8. Configurable Test Double (1) (2) ! http://xprogramming.com 2010 9 25
  9. 9. Varidation:Configrat ion Interface Configurable Test Double Four-Phase Test fixture setup phase SUT Test Double 2010 9 25
  10. 10. Configuration Interface MockMaker JMock 2010 9 25
  11. 11. Configration Mode SUT record and playback 2010 9 25
  12. 12. SUT Configuration Mode ”usage mode” 2010 9 25
  13. 13. Hand-build Test Double Hard-Coded Test Double Hand-Build Test Double hand- built Hand-Build Test Double 2010 9 25
  14. 14. third party Hand-Built Test Doubles 2010 9 25
  15. 15. Staticaly Generated Test Double Test Double 2010 9 25
  16. 16. 2010 9 25
  17. 17. 2010 9 25
  18. 18. Dinamically Generaterd Test Configurable test double Configurable Test Double 2010 9 25
  19. 19. Mock Objects Retrieval Interface 2010 9 25

×