Area Registration Just Mock Unit Test

2 posts, 0 answers
  1. sema
    sema avatar
    5 posts
    Member since:
    Jun 2015

    Posted 09 May 2016 Link to this post

    Hi,

    I am trying to do admin area reqistration route unit test.But I have trouble.I asked from stackoverflow but there is no answer yet.Can you look at my question.And Can you help?

    Here is my question:http://stackoverflow.com/questions/37117401/asp-net-mvc-arearegistration-route-unit-test-with-telerik-just-mock-lite

    Thanks

  2. Svetlozar
    Admin
    Svetlozar avatar
    294 posts

    Posted 12 May 2016 Link to this post

    Hello,

    You will need JustMock full version in order to mock the environment required for your test. With JustMock Lite you can mock only virtual and interface members.

    I suggest you try another approach for your test, maybe using MvcRouteTest as suggested in the stackoverflow answer.

    If you have other questions, please don't hesitate to write back!

    Regards,
    Svetlozar
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

     
Back to Top