Unit Testing with BizTalk Server Projects

BizTalk Server 2009 introduced a unit testing feature that can be enabled on the Deployment property page of a BizTalk project. The following screenshot shows this project setting accessed from Project Designer when you right-click a project and click the Properties.

46c5c38c-5ee8-4b37-ab92-ea3f9665a153

Screenshot of the Deployment tab in Project Designer exposing the Enable Unit Testing project property.

This feature allows you to create unit tests for schemas, maps, and pipelines. The topics in this section provide some example approaches to using the unit testing feature. When this feature is enabled and the project rebuilt, the artifact classes will be derived from the following base classes to support unit testing.

 

Artifact type Base class

Schema

Microsoft.BizTalk.TestTools.Schema.TestableSchemaBase

Map

Microsoft.BizTalk.TestTools.Mapper.TestableMapBase

Pipeline

Microsoft.BizTalk.TestTools.Pipeline.TestablePipelineBase

In This Section

Reference

Related Sections

  © 2009 Microsoft Corporation. All rights reserved.
Page view tracker