1 / 25

Unit Testing Patterns and Anti-Patterns

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. Do I suck?. Let me (and the world) know!. http://spkr8.com/t/8096. Steve Bohlen.

rex
Download Presentation

Unit Testing Patterns and Anti-Patterns

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related