BizMock using it for orchestration unit testing
BizMock is a tool that allows for testing BizTalk artifacts without having to deploy artifacts. This is done by a private BizMock adapter that receives the messages. BizMock generates a class based on an XML configuration file where the mapping to schemas, sample files, maps, orchestrations, mapping from logical to (virtual) physical ports are defined (all in your head ). Advantages : The generated code to perform the test is simple, powerful and compact. Disadvantages : It uses T4 templates; errors in the XML file are very difficult to debug and resolve. There is little documentation available and sample code does not show all possibilities. Note: According to the developer a DSL tool is on the way providing an easy mechanism to manufacture the Xml file! In the segments below are some code snippets that shows the usage of BizMock; Application The figure below is a sample project with two schemas, a map and an orchestration. The sample orchestration receives a me