Unit testing Windows Workflow 4

12/30/10

Permalink 07:57:23 pm, by truewill Email , 84 words, 293 views   English (US)
Categories: Testing, .NET, Windows Workflow

Unit testing Windows Workflow 4

Microsoft’s Ron Jacobs posted the Microsoft.Activities.UnitTesting library to CodePlex. See the documentation page for examples.

I tried the WorkflowServiceTestHost and it works. You can host a workflow service in your unit test project and make calls to its WCF activities. One of the examples shows using tracking to verify state. It’s a bit slow, but it does not require deploying to IIS.

I didn’t get the MemoryStore working yet, and I haven’t tried the XamlInjector (mocking activities - what a cool idea!).

Comments, Pingbacks:

No Comments/Pingbacks for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
The name truewill is composed of two other words. What is the SECOND word?

Development Central

Development Central is the blog of Bill Sorensen, a professional software developer. Much of this will relate to C#, .NET, and OOP in general.

Disclaimer
These postings are provided "AS IS" with no warranties and confer no rights.

Search

Categories

Linkblog

b2evolution

contributors

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 2

powered by b2evolution free blog software