|
|
Registration is not required for this event.
|
|
| For Those About to Mock |
|
When:
|
Tuesday, 1/19/2010 at 7:00 PM
|
|
Where:
|
O'Reilly Media: 1003-1005 Gravenstein Highway North, Sebastopol (8 miles west of Santa Rosa) - Tarsier Conference Room (between Building B and Building C)
|
|
Event Description
|
If you want to prove that a complex system works, a good place to start is to check that each piece is working right. Unit testing intends to do just that: take a unit of your code, and verify that it behaves properly. Unfortunately, in “real” software, dependencies between classes make testing in isolation difficult. Mocking is a technique designed to overcome that issue, and replace dependencies by Mocks, lightweight versions of the “real thing”, allowing you to validate the interactions of a class with its “collaborators”.
The presenter will discuss two specific reasons you should care about mocks, illustrate how you would go about addressing them by rolling your own mocks & stubs, and demonstrate two free, open-source frameworks, Rhino.Mocks and Moq, which will greatly simplify your job. Mocks and Stubs can sound intimidating – the goal of this presentation is to demystify the topic and give you a clear understanding of what they are, where they can help you, and to give you a good quick-start so that you can productively use them in your own code. |
|
Agenda
|
7:00 - 8:00 Presentation by Mathias Brandewinder
8:00 - 8:10 Q&A
8:10 - 8:20 book raffle
8:20 - 8:30 wrap up |
|
Presenter's Bio
|
| Mathias has been writing software in C# for 6 years, and loving every minute of it, except maybe for a few release days. He enjoys looking at code, arguing about it, and learning how to make it better. His other professional specialty is applied math and probability. If you want to know more about Mathias, you can check out his blog at www.clear-lines.com/blog. |
|
|
|
|
|
|
|
|