Will redirect to How do I test an activity with bookmarks? on wf.CodePlex.com in 5 seconds
How do I test an activity with bookmarks?
Bookmarks allow an activity to inform the host application and workflow runtime
that it needs more data before it can continue. The host application or some
other workflow extension can resume the bookmark with the required data at some
later point in time.
Activities with bookmarks must be tested using WorkflowApplicationTest host
because WorkflowInvokerTest does not allow activities to use bookmarks.
Notes:
- In this test you will be using Workflow Episode support provided by
extensions to WorkflowApplication in the Microsoft.Activities library. These
extensions can be used in any code not just unit test code.
- This test code requires Microsoft.Activities and
Microsoft.Activities.UnitTesting >= v1.8.5
-
Download the sample code for this
walkthrough from MSDN Code Gallery