This is a migrated thread and some comments may be shown as answers.

Area Registration Just Mock Unit Test

1 Answer 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sema
Top achievements
Rank 1
Sema asked on 09 May 2016, 03:17 PM

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

1 Answer, 1 is accepted

Sort by
0
Svetlozar
Telerik team
answered on 12 May 2016, 03:21 PM
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

 
Tags
General Discussions
Asked by
Sema
Top achievements
Rank 1
Answers by
Svetlozar
Telerik team
Share this question
or