JustMock With asynchronous Commands

2 posts, 0 answers
  1. Wessel Fick
    Wessel Fick avatar
    3 posts
    Member since:
    Dec 2009

    Posted 28 May 2010 Link to this post

    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

     


  2. Ricky
    Admin
    Ricky avatar
    467 posts

    Posted 28 May 2010 Link to this post

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top