
7 Answers, 1 is accepted
Hi Carl,
JustMock natively support Silverlight runtime. You can take a look at the examples which come with JustMock’s installation. Instead of referencing Telerik.JustMock.dll you should rather add a reference to Telerik.JustMock.Silverlight.dll.
The only limitation is that you can’t use the “elevated mode” in Silverlight runtime which means you won’t be able to mock static members and types and non-virtual members.
Hope that helps.
Mehfuz

Thanks again for the suggestion. The issue is already added to the product backlog for implementation and we will keep things posted for any updates. However, the issue is rather a hack than a feature. It is actually done by referencing Silverlight assembly to the C# project.
Moreover, JustMock can work within the Silverlight runtime itself but as profiler is not directly supported inside Silverlight runtime, you won’t be able to mock concrete members but can mock virtual members as JustMock has a proxy mode as well.
Hope the information is useful.
the Telerik team

thanks
Stephen
We haven't yet released the Silverlight elevated mode as it hasn't been included in our roadmap till now. But it's in our ToDo list for the next Q and it's very probable that we'll do it this time. Hope this helps.
Vladi
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

any news on this? I tried 2012 Q3 and looks like this is still not supported?
I've also tried to test silverlight library under desktop clr but I'm unable to mock anything except interfaces.
Is there really no way to mock anything else?
Thanks
Heiko
Unfortunately mocking in Silverlight is still not supported. However we have it in our queue for the next major release, which should happen somewhere in March 2013 or earlier.
You can check our public issue tracker for further information:
- http://www.telerik.com/support/pits.aspx#/details/Issue=10188
If there is anything else, I can help you with, it will be my pleasure.
All the best,
Kaloyan
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.