Visual Studio 2010 / .NET 4

TH5 Design for Testability: Mocks, Stubs, Refactoring and UI's

10/20/2011

8:30 AM - 9:45 AM

Benjamin Day

Consultant & Trainer

Benjamin Day Consulting, Inc.

You’re sold on unit testing. You’re even doing test first development but there are always those nagging questions. How do your user interfaces fit into your testing plan? Do I have to call my database in order to have a good, solid test? What about calls into separate sub-systems or calls out to web services? Do you really need to have all those pieces running in order to test your logic? In this session, Ben will start by clarifying the difference between unit and integration tests. After that, he’ll demonstrate how using dependency injection, mocks objects and stubs can help break dependencies and simplify your tests. Throughout the talk, you can expect to hear a lot about design patterns, how much code coverage is enough, and the fine line between too much and too little object mocking.

You will learn:

  • How to design and implement a testable application
  • Design patterns that help with testability
  • How to test a UI using stubs

EVENT SPONSOR:

 Microsoft

Keynote Announced!

Cameron Skinner

Visual Studio 11: Turning Ideas into Software

The world of software today is defined by the word “Experience”. You can see it in the way people have adopted new experiences for devices of different form factors, you can see it in how people want to experience their information and you can see it in the context of how people interact to build software solutions. Regardless of the solution you’re building, the fundamental need for a compelling experience exists. In Visual Studio 11, Microsoft aims to ensure that developers have all the tooling to create compelling user experiences, an IDE that sets a new bar for the developer experience and a family of products dramatically improves the team experience for everyone.

Cameron Skinner, General Manager, Visual Studio Ultimate, Microsoft

BACK ON THE MICROSOFT CAMPUS!


Make sure you're a part of Visual Studio Live! for our 2nd year at Microsoft HQ in Redmond! Expand your .NET skills, learn how to build better applications from the pros, and experience the Microsoft campus like an insider.

Our last event SOLD OUT, so you'll want to register now to secure your place.

Share |