Search / 12 posts tagged Moq

Subscribe
  1. No one has claimed this blog

    Mocking and Dependency Injection in ASP.NET MVC

    http://www.emadibrahim.com/ 2008/ 08/ 27/ mocking-and-dependency-injection-in-as…

    Here is the situation, my controller constructors take multiple interfaces as parameters. I do this in order to use constructor injection which allows me to inject the controllers with mocked objects in my unit tests. For example, my AccountController takes IEmailService, IFormsAuthentication and MembershipProvider (abstract class) as parameters.

    10 days ago in Emad Ibrahim · Authority: 25
  2. No one has claimed this blog

    MoQs RoX

    http://statestreetgang.net/ post/ 2008/ 06/ MoQs-RoX.aspx

    After the big refactor last iteration we're working on the unit tests. One of the things I wanted to get done was to replace all our lousy stubs (none of which would compile now after the refactor) with a true mock framework. When considering framework candidates, I had three requirements: First, it had to be easy to learn and use.

  3. View all »

    Videos about Moq

    1. Alisia Alisiq Stiga obich moq moia
    2. Emil Dimitrov - Moq Strana,Moq BULGARIA
    3. Djordan - Samo moq  - Klip4e.Net - GocmenTuBe.CoM
    4. Amet - Princeso Moq - Klip4e.Net - GocmenTuBe.CoM
  4. Photo of rogerj

    LINQ and Entity Framework Posts for 5/22/2008+

    http://oakleafblog.blogspot.com/ 2008/ 05/ linq-and-entity-framework-posts-for_2…

    Note: This post is updated daily or more frequently, depending on the availability of new articles. SQL Server Data Services Rolls Out "Sprint 2" Upgrade The SQL Server Data Services (SSDS) team's Sprint 2 goes live post of May 26, 2008 announces the second upgrade to SSDS servers were completed last week.

    106 days ago by rogerj in OakLeaf Systems · Authority: 76
  5. No one has claimed this blog

    Unit Tests for WCF (and Moq) Part II

    http://weblogs.asp.net/ cibrax/ archive/ 2008/ 05/ 20/ unit-tests-for-wcf-and-mo…

    My latest post about "creating wrapper classes" for mocking the WCF context has started generating some controversies. I initially wrote those classes to decouple my service implementation from the concrete implementation of the WCF context, something that did not have anything to do with the static nature of the context.

  6. No one has claimed this blog

    Unit tests for WCF (And Moq)

    http://weblogs.asp.net/ cibrax/ archive/ 2008/ 05/ 16/ unit-tests-for-wcf.aspx

    As you may know, testing WCF services is not as simple as referencing a service implementation and start writing unit tests against it. If the service we want to test has a high dependency with the operation context, which is an static class, testing that service can be a very complicated task.

  7. No one has claimed this blog

    Unit tests for WCF (And Moq)

    http://weblogs.asp.net/ cibrax/ archive/ 2008/ 05/ 16/ unit-tests-for-wcf.aspx

    As you may know, testing WCF services is not as simple as referencing a service implementation and start writing unit tests against it. If the service we want to test has a high dependency with the operation context, which is an static class, testing that service can be a very complicated task.

  8. Photo of mabster

    ValidationResult FTW!

    http://www.madprops.org/ cs/ blogs/ mabster/ archive/ 2008/ 04/ 17/ validationre…

    In a previous post I described a "ValidationResult" class we've created here at work for "lazy validation", where the "IsValid" property is a nullable boolean and is set to null if the code can't determine its value without the user's help.

  9. No one has claimed this blog

    Unit Test Linq to Sql in ASP.Net MVC with Moq

    http://www.emadibrahim.com/ 2008/ 04/ 04/ unit-test-linq-to-sql-in-aspnet-mvc-wi…

    I have just spent the entire day playing with Moq to unit test an asp.net mvc application I am working with. All I wanted to do is test a “create” method that simply adds a record to the database. So here it goes. 1. I created a Mock Http context to be used by my controller.

    155 days ago in Emad Ibrahim · Authority: 25
  10. Photo of haacked

    Comparing Moq to Rhino Mocks

    http://haacked.com/ archive/ 2008/ 03/ 23/ comparing-moq-to-rhino-mocks.aspx

    UPDATE: I should have entitled this “Comparing Rhino Mocks and MoQ for State Based Testing”. I tend to prefer state-based testing over interaction based testing except in the few cases where it is absolutely necessary or makes the test much cleaner. When it is necessary, it is nice to have interaction based testing available.

Rising and falling

Technorati data powered by Truviso

Mentions by Day

Posts tagged Moq per day for the past 30 days.

Chart of results for Moq

See your posts here

To contribute to this page, include this code in your blog post: