This interactive workshop uses Visual Studio 2008, C#, Rhino Mocks, and Uncle Bob’s famous bowling kata. We will explore beyond the kata to look at data driven unit tests and mock objects. Participants should bring their laptops and be prepared to implement code in fun, hands-on, practical workshop.
Specific items covered:
• Unit testing vs. TDD and uses for both.
• Testing the sad path for better software
• Data Driven Unit Testing for regression
• Using mock objects to test Presenters in an MVP implementation of ASP.Net, or using the ASP.Net MVC framework for .Net
Upon completion, student skills will include:
• Understanding fundamental principles and practices of TDD
• Ability to perform TDD using Visual Studio
• Apply TDD as a design tool
• Appropriately identify and apply advanced TDD technologies such as mock objects
• Understand and apply code coverage as part of an overall test strategy
Attendees to this session should have the following:
• Experience creating, maintaining, or debugging software with Visual Studio
• Experience with C# .Net or a similar Object Oriented language in .Net
• Experience with basic principles of Object Oriented Programming
• Understand Microsoft Windows operating system basics
Lecture and demonstration of each principle to be followed by an implementation excercise with participants implementing solutions with instructor feedback.
I will provide base Visual Studio projects in which attendees will implement ther labs, along with printed lab instructions.