Main Content

Effective Test-Driven Development with Mock Objects

About the Talk

March 10, 2012 9:45 AM

Las Colinas Country Club, Irving, TX 75062

Las Colinas Country Club, Irving, TX 75062

Effective Test-Driven Development (TDD) through Unit Testing techniques requires proper isolation of testable units. In this session, we will investigate techniques for effectively leveraging the RhinoMocks mock object framework to help isolate our classes while using a TDD approach to build out a small corner of functionality in a much larger project. Starting from a blank slate, using TDD this session will demonstrate the development of a simple system with several dependencies with which we need to interact, ranging from the database to configuration files to web services. Along the way we will explore the roles of mocks, fakes, and stubs in the test-driven development process as we complete a working piece of software.

Attendees will gain a better understanding of the Test-Driven Development process and how to leverage techniques for isolating units of code for effective testing. Attendees will also gain exposure to the concepts of employing the RhinoMocks framework to assist in creating needed mock and stub objects to support their tests.

Ratings and Recommendations

Avg. Rating

Average based
on 1 rating

comments powered by Disqus