Windows 7 endpoint.tv - How to test activities and workflow services with XamlInjection

Discussion in 'Live RSS Feeds' started by News, Oct 20, 2010.

  1. News

    News Extraordinary Robot
    News Feed

    Joined:
    Jun 27, 2006
    Messages:
    26,189
    Likes Received:
    20
    In our last episode I showed you the Contoso HR sample application. The Submit Application workflow coordinated database updates, sending of email and multiple web service calls. How can you unit test a workflow like this? You don't want to update databases and send email when testing but you want to be sure that the conditions and correlation queries are correct.

    The WorkflowTestHelper project now features XamlInjection which allows you to inject mock activities into the XAML when testing. In this episode I'll show you how I tested the Submit Application workflow using XamlInjection.

    Ron Jacobs
    blog http://blogs.msdn.com/rjacobs
    twitter @ronljacobs

    What do you want to see on endpoint.tv?



    [​IMG]

    More...
     

Share This Page

Loading...