Unit Testing WF4 Workflowservice

I play with WF4 beta 2 and want unit test to work with workflow. Maybe something is missing me, but it does not seem trivial.

As far as I can tell, I can use WorkflowServiceHost. But I think that creating a node requires a lot of overhead, and then use it in a test.

Is there a simple way to test a workflow service, just as with WorkflowInvoker.Invoke?

+3
source share
3 answers
+2
source

, .

unit test , InArguments OutArguments, . ( WorkflowInvoker.)

unit test , , , .

, Pick Parallel receive, , , - , Pick/Parallel.

+1

Source: https://habr.com/ru/post/1721682/


All Articles