Presentation is loading. Please wait.

Presentation is loading. Please wait.

Kansas City Developer Conference 2011 Unit Testing Patterns and Anti-Patterns Steve Bohlen Blog:

Similar presentations


Presentation on theme: "Kansas City Developer Conference 2011 Unit Testing Patterns and Anti-Patterns Steve Bohlen Blog:"— Presentation transcript:

1 Kansas City Developer Conference 2011 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 Product Sponsors Silver Sponsors Gold Sponsors

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

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

5 Kansas City Developer Conference 2011 RAD Controls for ASP.NET AJAX RAD Controls for Silverlight RAD Controls for Windows Phone RAD Controls for Winforms RAD Controls for WPF Telerik Reporting Telerik OpenAccess ORM Telerik JustCode Telerik JustMock Telerik Extensions for ASP.NET MVC Test Studio Express Telerik TeamPulse Telerik Test Studio Sitefinity CMS Telerik JustDecopile C#/VB.NET Converter ASPX to Razor Converter

6 Kansas City Developer Conference 2011

7

8 Definition: Pattern 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. Anti-

9 Kansas City Developer Conference 2011

10

11 Challenge: Running Tests

12 Kansas City Developer Conference 2011 Interacting with your Tests Run Selected Tests Debug Selected Tests Rerun

13 Kansas City Developer Conference 2011 Challenge: Speedy Tests

14 Kansas City Developer Conference 2011 Challenge: Naming Tests

15 Kansas City Developer Conference 2011 Challenge: Descriptive Assertions

16 Kansas City Developer Conference 2011 Challenge: Repetition

17 Kansas City Developer Conference 2011 Challenge: False Positives

18 Kansas City Developer Conference 2011 Challenge: Faked Out!

19 Kansas City Developer Conference 2011 Challenge: Maintenance

20 Kansas City Developer Conference 2011 Challenge: Testing Exceptions

21 Kansas City Developer Conference 2011 Challenge: Test Coverage

22 Kansas City Developer Conference 2011 Challenge: Organizing Tests

23 Kansas City Developer Conference 2011 Challenge: Data Dependency

24 Kansas City Developer Conference 2011 Challenge: Multiple Assertions

25 Kansas City Developer Conference 2011 And now for something completely different… …code!

26 Kansas City Developer Conference 2011 fini Steve Bohlen E-Mail: sbohlen@gmail.com Blog: http://blog.unhandled-exceptions.com Twitter: @sbohlen


Download ppt "Kansas City Developer Conference 2011 Unit Testing Patterns and Anti-Patterns Steve Bohlen Blog:"

Similar presentations


Ads by Google