xamlinjection

About this tag
XamlInjection is a technique used in Windows workflow testing, specifically with the WorkflowTestHelper project. It allows developers to inject mock activities into XAML-based workflows during unit testing, enabling them to test conditions and correlation queries without triggering real side effects like database updates or email sending. This approach is demonstrated in the context of testing a Contoso HR sample application's Submit Application workflow, which coordinates database updates, web service calls, and email. XamlInjection helps ensure workflow logic is correct while isolating tests from external dependencies.
  1. News

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

    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...
Back
Top