VSLive Orlando 2017: Unit Testing for Mere Mortals Slides & Code

Posted · Add Comment

I just wrapped up my talk at VSLive Orlando 2017 — “Unit Testing & Test-Driven Development (TDD) for Mere Mortals”.  Thanks to all the attendees for the great questions. As promised, here are my slides and code samples. Unit Testing & Test-Driven Development (TDD) for Mere Mortals Unit Testing and Test-Driven Development (TDD) arguably mean […]

VSLive Redmond 2017: Unit Testing for Mere Mortals Slides & Code

Posted · Add Comment

I just wrapped up my talk at VSLive Redmond 2017 — “Unit Testing & Test-Driven Development (TDD) for Mere Mortals”.  Thanks to all the attendees for the great questions. As promised, here are my slides and code samples. Unit Testing & Test-Driven Development (TDD) for Mere Mortals Unit Testing and Test-Driven Development (TDD) arguably mean […]

Automatic Exception Handling on ICommand ViewModel Properties

Posted · Add Comment

If you’re writing a WPF application or some other XAML-based application, you’re probably using the Model-View-ViewModel (MVVM) pattern.  If you’re being “good” about your MVVM implementation, you’re putting all your button click handling code into ICommand properties on your ViewModels.  (What!? You’re not doing that?  Naughty naughty!  You should!  It makes it so much more […]

XML utility methods for C#

Posted · Add Comment

It’s tough to work on a project that doesn’t involve XML.  XML is everywhere and I kept needing to do the same things again and again from project to project.  I took my C# XML utility methods, converted them to extension methods, and then put them into a class that I could drop in to […]

VSLive Chicago 2013: “Design for Testability” slides & code

Posted · Add Comment

I just wrapped up at VSLive Chicago 2013 and, as promised, here are my slides and code samples from the “Design for Testability: Mocks, Stubs, Refactoring, and User Interfaces” talk.  Design for Testability: Mocks, Stubs, Refactoring, and User Interfaces You’re sold on unit testing. You’re even doing “test first” development – but there are always […]

VSLive Las Vegas 2013: “Design for Testability” slides & code

Posted · 1 Comment

I just wrapped up at VSLive Las Vegas 2013 and, as promised, here are my slides and code samples from the “Design for Testability: Mocks, Stubs, Refactoring, and User Interfaces” talk.  Design for Testability: Mocks, Stubs, Refactoring, and User Interfaces You’re sold on unit testing. You’re even doing “test first” development – but there are […]

Lab: Refactor for testability using the Repository pattern

Posted · 1 Comment

I had a long drive yesterday to go visit a customer and while I was driving it occurred to me that I have LOTS of courseware that I’ve written that is just sitting around gathering virtual dust.  Whether they’re parts of classes that never fully came together or they’re for courses that target old versions […]