Workflow TV - How to Unit Test a WF4 Workflow that calls a WCF Service
- Posted: Jan 20, 2011 at 11:49 AM
- 3,312 Views
- 2 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Yesterday morning I received an email from Ryo in Belgium who asked for help in unit testing a workflow. Ryo had read my previous posts on Microsoft.Activities.UnitTesting.XamlInjector and wanted to use it to test his workflow but was having trouble. I gave him a quick suggestion and a little later he wrote back still having trouble and sent me some test code so I decided to fix it for him. Several hours later I had a new update to Microsoft.Activities.UnitTesting which now includes stubs for messaging activities.
In this episode, I'll show you how you can replace messaging activities with stubs and also how you can supply values and behavior for the messaging activities to simulate various kinds of scenarios. For more information see this post on my blog.
Note: This video uses smooth streaming. When you change to full-screen mode after a few seconds it should switch to high-resolution.
Ron Jacobs
http://blogs.msdn.com/rjacobs
Twitter: @ronljacobs
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Nice one Ron! Do you have a higher resolution video?
This video uses smooth streaming. When you change to full-screen mode after a few seconds it should switch to high-resolution.
There is a High-Quality WMV download you can use as well.
Remove this comment
Remove this thread
close