Testing BizTalk solutions with BizMock

BizMock is a framework for testing BizTalk solutions. It has been developed by Pierre Milet Llobet. It is available through CodePlex. BizMock uses a Domain Driven Design (DDD) approach, fluent interface API, and has mocking capabilities. The latter means you do not need to depend on an infrastructure, such as a database, as you isolate the tests on the developer machine or build server.

The tests you write are executed with Visual Studio using its regular tests and C# code. With BizMock, you can quickly test your orchestrations, schemas, maps, and pipelines by writing unit tests that can emulate the messages received at the Receive ports and validate messages sent from the Send ports.

In this recipe, we ...

Get BizTalk Server 2010 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.