Test Driven Development Master Class

During this hands-on interactive five day course, Roy Osherove will cover Unit Testing and TDD Basics, Mock Objects, Advanced Isolation and mock objects, Test Review Skills and Working with Legacy Code. This course involves an equal amount of instructor led training and hands-on labs to reinforce the learnings. View testimonials...
About Roy Osherove (presenter)
Roy Osherove is the chief architect at Typemock and is one of the original ALT.NET organisers. He consults and trains teams worldwide on the gentle art of unit testing and test-driven development. He frequently speaks at international conferences such as TechEd and JAOO.
Roy is the author of the book The Art of Unit Testing, and writes about subjects such as unit testing, TDD Team Leadership and agile development on his blog: ISerializable.com.
Course Prerequisites
Attendees should have at least one year’s experience developing software using .NET, as well as the ability to program in C# .NET 2.0 or 3.X(Visual Studio 2008).
Course Outline
DAY ONE
Unit Testing and TDD Basics
- Writing basic unit tests for .NET classes using NUnit or MS Test
- Test Driven Development
- Unit Testing best practices and coding standards
- Pair Programming practices
- Exercise and code kata
DAY TWO
Mock Objects
- Mock Object Principles and Interaction testing
- Hand Written Mocks and Stubs
- Isolation frameworks (RhinoMocks, Moq and Typemock Isolator)
- Best practices for mocks and stubs
DAY THREE
Advanced Isolation and mock objects
- Advanced Mocking Scenarios
- Using Typemock Isolator
- Continued Exercises
DAY FOUR
Test Review Skills
- How to review unit tests written by others
- Categorizing test problems to readability, trust and maintainability
- Learning techniques for quick test reviews
- Looking at various open source projects and reviewing them
DAY FIVE
Working with Legacy Code
- Advanced Dependency breaking techniques
- Approaches and strategy for testing existing code
- Designing for testability
- Testing untestable code
“.NET 3.5 represents an evolution of the Microsoft platform which will ... provide an engaging user experience capable of satisfying the demands of digital natives.”
Mitch Denny, Chief Technology Officer, Readify



