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

JustMock With asynchronous Commands

1 Answer 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wessel Fick
Top achievements
Rank 1
Wessel Fick asked on 28 May 2010, 02:45 PM

We are busy developing a Composite Application Library (PRISM) applicationusing Visual Studio 2010, WPF and Silverlight 4.0. We have managed to get asnear as 100% code sharing between our WPF and Silverlight application becauseof the Telerik WPF/SL controls. Currently we are spending our time to write theUnit Tests for our Shell application and our common CAL modules before we startporting the existing application onto the new framework.

We have investigated standard Microsoft Visual Studio Unit Tests in additionto Rhino Mocks and Moq. We have had many troubles in getting both Rhino Mockand Moq to test our CAL application, specifically when it comes to testing theAsynchronous ICommand call-backs and the IEventAggregator subscriptions.

Yesterday we decided to investigate the Telerik JustMock mocking libraries,however we're still failing to completely test our CAL application.

Can you please provide us with a sample of testing an Asynchronous ICommandand a event publication and subscription using the IEventAggregator. I'm hopingthat JustMock is CAL friendly.


Regards

Wessel

 


1 Answer, 1 is accepted

Sort by
0
Ricky
Telerik team
answered on 28 May 2010, 05:12 PM
Hi Wessel,

Thanks for the post and trying justmock. I would like to ask if it will be possible to share some test code and give me some example at the same time like  which line it is actually failing. So, that i can debug and get back to  you with positive response as soon as possible.

Regards,
Mehfuz




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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Wessel Fick
Top achievements
Rank 1
Answers by
Ricky
Telerik team
Share this question
or