|
|
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
|
|
|
OPEN SOURCE .NET PODCASTS
|
OTHER OPEN SOURCE .NET EVENTS
|
London .NET User Group
FREE EVENT:
Functional and OO Approaches t
London, Wednesday, March 31st
|
|
Persistence with NHibernate
3 DAY COURSE. Featuring Oren Eini aka Ayende Rahien London, Monday, April 26th
|
|
Introduction into Raven DB
FREE EVENT:
In The Brain of Oren Eini aka Ayende Rahien
London, Wednesday, April 28th
|
|
London F-Sharp User Group
FREE EVENT:
F-Sharp Numerical Optimization
London, Thursday, April 29th
|
|
Robert Pickering's Beginning F# Workshop
2 DAY COURSE. Featuring Robert Pickering London, Monday, May 10th
|
|
Progressive .NET Tutorials
CONFERENCE (3 DAYS)
London, Wednesday, May 12th
BOOK NOW!
|
|
Persistence with NHibernate
3 DAY COURSE. Featuring Oren Eini aka Ayende Rahien London, Monday, May 17th
|
|
Agile Castle Web Development
2 DAY COURSE. Paris, Tuesday, May 18th
|
|
|
|