Workflow TV - How To Unit Test Activity Versioning

Embed code for this video

Copy the code above to embed our video on your website/blog.

Close

Video format

Option selected may change based on video formats available and browser capability.

Close

Download

Right click “Save as…”

Before yesterday I had never contemplated how I could unit test the behavior of a system to insure that the correct version of assemblies were loaded.  But then after the previous episodes where I first showed you how WF4 has some unusual rules for assembly resolution and second how you can use Microsoft.Activities.dll to apply the standard CLR rules I realized that I was going to have to write some unti tests that could verify that my solution was really correct.  As it turns out this kind of testing is not simple,  I came up with something that works and feels pretty good so in the event that you might need to do similar testing you can read about the solution on my blog and watch this episode for some commentary.

Ron Jacobs
http://blogs.msdn.com/rjacobs
@ronljacobs

Tag:

Follow the Discussion

Comments Closed

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.