mockactivities

About this tag
The mockactivities tag on WindowsForum.com covers content related to unit testing Windows Workflow Foundation (WF) services and activities. A featured thread demonstrates how to use XamlInjection from the WorkflowTestHelper project to inject mock activities into XAML workflows during testing. This approach allows developers to test workflow logic—such as conditions and correlation queries—without triggering real side effects like database updates or email sending. The example uses a Contoso HR sample application with a Submit Application workflow that coordinates database updates, email, and web service calls. The tag is relevant for developers working with WF, unit testing, and mocking in .NET environments.
  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