|
|
In The Brain of Abid Quereshi: Introduction to Moq
Introduction to Moq
Abid Quereshi introduces Moq, which is the only mocking library for .NET developed from scratch. Moq takes full advantage of .NET 3.5 and C# 3.0 features, providing a practical, unobtrusive and straight-forward way to quickly setup dependencies for your tests. It is easier to learn and use than most of the other mock object frameworks.
The talk starts with a very short review about mocking, the difference between mocks and stubs and implementing Test-Driven Development (TDD) on the .Net platform. The project that Abid works on, and uses Moq during the development process, is about building a global shipping network system. The system includes objects like journeys, ports, and legs. How to create mocks from interfaces or existing classes in order to test these objects,tips and pitfalls of using Moq are explained with hands-on demonstration.
Version 3.0 RTM of Moq comes with key features like: Silverlight Support, New simplified event raising syntax, Support for custom event signatures, Improved property setter behaviour, Additional sample application code and Better integration with Pex.
You can find further information at the blog ofDaniel Cazzulino, who is the primary author of Moq.
ABOUT ABID QUERESHI
|
Abid Quereshi has been developing software for over ten years. His experience ranges from real-time embedded to enterprise application development, in industries including telecom, healthcare, manufacturing and finance. More recently he has been work
More about Abid Quereshi
|
|
PODCAST INTRODUCTION TO MOQ
This session took part at the Rhino Mocks, Automocking and MOQ. You can view the other 1 podcast here.
|
|
|
PROGRESSIVE .NET PODCASTS
|
OTHER PROGRESSIVE .NET EVENTS
|
ThoughtWorks Quarterly Briefings
FREE EVENT:
Is programming language choice
Manchester, Monday, February 13th
|
|
ThoughtWorks Quarterly Briefings
FREE EVENT:
Is programming language choice
London, Thursday, February 16th
|
|
Udi Dahan's NServiceBus Workshop
4 DAY COURSE. Featuring Andreas Ohlund London, Monday, February 20th
|
|
Putting your events on a diet
FREE EVENT:
In The Brain of Andreas Ohlund
London, Monday, February 20th
|
|
Neo4J User Group
FREE EVENT:
Neo4j in .NET
London, Wednesday, February 22nd
|
|
Ayende Rahien's RavenDB Workshop
2 DAY COURSE. Featuring Itamar Syn-Hershko London, Tuesday, February 28th
|
|
RavenDB indexes explained
FREE EVENT:
In The Brain of Itamar Syn-Hershko
London, Tuesday, February 28th
|
|
Jon & Kevlin's Agile Development Course
3 DAY COURSE. Featuring Jon Jagger London, Monday, March 5th
|
|
|
|