Workflow TV - Lab Introduction to WF4: Exercise 5 - Testing Activities

Play Workflow TV - Lab Introduction to WF4: Exercise 5 - Testing Activities
Sign in to queue



In this exercise you will enhance your program and the SayHello activity to meet some new requirements.

  1. Generate a personalized greeting
  2. Provide unit tests to verify the personalized greeting

Intro To WF4 Hands On Lab (Visual Studio Gallery)
Intro To WF4 Hands On Lab (MSDN Code Gallery)

Lab Exercises

  • Exercise 1 - Hello Workflow (video)
  • Exercise 2 - Refactoring Workflow (video)
  • Exercise 3 - The CodeActivity (video)
  • Exercise 4 - Dynamic Workflows with XAML (video)
  • Exercise 5 – Testing Activities (video)
  • Exercise 6 – WorkflowApplication (video)
  • Exercise 7 – If/Else Logic (video)





Right click to download this episode

The Discussion

  • User profile image
    Steve Scott

    How do we go about testing Bookmarks?

  • User profile image

    To test bookmarks you have to use WorkflowApplication and then when the activity goes idle your OnIdle delegate will be invoked.  When this happens you can resume the bookmark.  I have some sample code I'll publish soon so you can see how this is done.

  • User profile image

    Hi Sir ,

    This is error that i am getting wen i'am doing unit test project ie video 5 in this series
    Error CS0012 The type 'ISupportInitialize' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'. 


    please help me to get this solved.

Add Your 2 Cents