An Introduction to Mocking Frameworks in .NET

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,970
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 20, 2011

The most challenging part of test-driven development is dealing with dependencies. Typically, we end up creating mocks and stubs to isolate the behavior we would like to test. When we create all these testing classes by hand, it can get out of hand quickly -- sometimes developers duplicate these classes, and other times the mocks and stubs become more complicated than the code they're trying to test in the first place. Thankfully, we have several open source tools that can help ease the pain; frameworks like Rhino Mocks and Moq allow us to create mocks and stubs within our test method. While these tools do have a learning curve, we'll go over techniques that can ease you into these frameworks, and soon hand-rolling a mock or stub won't be your only option.

Presented by Michael Kramer

(webinar from July 28, 2010)

  • likes, 2 dislikes

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • The stream recording was a bit jumpy at times, but great material. Thanks for sharing!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more