1 / 26

Unit Testing Patterns and Anti-Patterns

Unit Testing Patterns and Anti-Patterns. Steve Bohlen E-Mail: sbohlen@gmail.com Blog: http://blog.unhandled-exceptions.com Twitter: @ sbohlen. We want to thank the sponsors of KCDC. Without them, none of this would be possible. Thanks to Our Sponsors. Gold Sponsors. Silver Sponsors.

parley
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 E-Mail: sbohlen@gmail.com Blog: http://blog.unhandled-exceptions.com Twitter: @sbohlen

  2. We want to thank the sponsors of KCDC. Without them, none of this would be possible. Thanks to Our Sponsors Gold Sponsors Silver Sponsors Product Sponsors

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

  4. 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

  5. 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 TelerikJustDecopile Telerik Reporting TelerikJustMock RAD Controls for Winforms RAD Controls for Silverlight TelerikJustCode Telerik Extensions for ASP.NET MVC Telerik Test Studio

  6. 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.

  7. Challenge: Running Tests

  8. Interacting with your Tests Rerun Run Selected Tests Rerun Debug Selected Tests

  9. Challenge: Speedy Tests

  10. Challenge: Naming Tests

  11. Challenge: Descriptive Assertions

  12. Challenge: Repetition

  13. Challenge: False Positives

  14. Challenge: Faked Out!

  15. Challenge: Maintenance

  16. Challenge: Testing Exceptions

  17. Challenge: Test Coverage

  18. Challenge: Organizing Tests

  19. Challenge: Data Dependency

  20. Challenge: Multiple Assertions

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

  22. fini Steve Bohlen E-Mail: sbohlen@gmail.com Blog: http://blog.unhandled-exceptions.com Twitter: @sbohlen

More Related