Download
unit testing patterns and anti patterns n.
Skip this Video
Loading SlideShow in 5 Seconds..
Unit Testing Patterns and Anti-Patterns PowerPoint Presentation
Download Presentation
Unit Testing Patterns and Anti-Patterns

Unit Testing Patterns and Anti-Patterns

164 Vues Download Presentation
Télécharger la présentation

Unit Testing Patterns and Anti-Patterns

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Unit Testing Patterns and Anti-Patterns Steve Bohlen Senior Software Engineer SpringSource/VMware E-Mail: sbohlen@gmail.com Blog: http://blog.unhandled-exceptions.com Twitter: @sbohlen

  2. Do I suck? Let me (and the world) know! http://spkr8.com/t/8096

  3. Steve Bohlen Nearly 20 years developing software LISP, Delphi, C/C++, VB, VB.NET, C# Senior Engineer Springsource/VMware Co-Founder, NYC Alt.NetUser Group http://nyalt.net • Co-Organizer, NYC DDD User Group • http://dddnyc.org Contributor: various OSS projects Nhibernatehttp://www.nhforge.org • NDbUnithttp://www.googlecode.com/ndbunit • Spring.NET http://www.springframework.net blog: http://blog.unhandled-exceptions.com e-mail: sbohlen@gmail.com twitter: @sbohlen

  4. Test Studio Express TelerikOpenAccess ORM RAD Controls for ASP.NET AJAX RAD Controls for Windows Phone ASPX to Razor Converter RAD Controls for WPF TelerikTeamPulse Sitefinity CMS C#/VB.NET Converter TelerikJustDecompile Telerik Reporting TelerikJustMock RAD Controls for Winforms RAD Controls for Silverlight TelerikJustCode Telerik Extensions for ASP.NET MVC Telerik Test Studio

  5. Anti- Definition: Pattern Anti- In software engineering, a design pattern is a general reusable solution to a commonly occurring problem in software design. that leads to commonly occurring problems in software design.

  6. Challenge: Running Tests

  7. Challenge: Speedy Tests

  8. Challenge: Naming Tests

  9. Challenge: Descriptive Assertions

  10. Challenge: Repetition

  11. Challenge: False Positives

  12. Challenge: Faked Out!

  13. Challenge: Maintenance

  14. Challenge: Testing Exceptions

  15. Challenge: Test Coverage

  16. Challenge: Organizing Tests

  17. Challenge: Data Dependency

  18. Challenge: Multiple Assertions

  19. And now for something completely different… …code!

  20. fini http://spkr8.com/t/8096 Steve Bohlen Senior Software Engineer SpringSource/VMware E-Mail: sbohlen@gmail.com Blog: http://blog.unhandled-exceptions.com Twitter: @sbohlen