Unit Testing BizTalk Solutions – BizMock

Test-Driven Development (TDD) has a strong track record in the industry and has proven to be great at allowing developers to build higher quality code  more quickly.   For us BizTalk guys, though,  TDD is often difficult because writing a test often involves deploying a full BizTalk solution.  In addition to the typical troubles in deployments, getting “real world” scenarios or effective mock-ups can be problematic as well.

I’ve spent some time researching testing solutions for BizTalk recently and discovered a neat little tool called BizMock.  BizMock ties in with Visual Studio test and gives you the ability to emulate Ports  and other BizTalk artifacts without actually deploying them.  It also allows you to mock up Messages and send them into BizTalk.  I’ve just begun to dig into BizMock, so I’ll not offer up a final opinion yet, but early on it looks promising.  The download comes with some sample code to help you get started, but other than that, it’s not very well documented.  Documentation of the artifacts schema in particular, would be most helpful, but is missing.  If you use this, prepare to get deep into code in order to figure things out.

About Ed Jones

Ed is a .NET and Integration architect for Avanade in the Twin Cities. Contact Ed

Trackbacks / Pingbacks

  1. Introduction to BizMock « Extremely Talented Monkeys - August 29, 2011

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: