The testing of pipelines and pipeline components can be done through the Visual Studio unit tests. Similar to the unit testing of the schemas and maps described in the first recipe. The unit testing of the pipelines within Visual Studio is similar to the Pipeline.exe
tool (for more information on the
Pipeline.exe
tool, see http://msdn.microsoft.com/en-us/library/aa547988.aspx.
Besides unit testing of pipelines through Visual Studio, you can also opt for testing a pipeline and its components using the Pipeline Testing Library created by Tomas Restrepo. This library allows developers to programmatically create pipelines, create instances of components, and assign them to their respective stages (including their own custom components and the familiar out of the box components), or load an existing BizTalk pipeline without the need to deploy the supporting BizTalk project.
In this recipe, you will see two possible ways to test pipeline components. One...