Export (0) Print
Expand All

Unit Testing

BizTalk Server 2009 introduces 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 Properties.

Ee377077.46c5c38c-5ee8-4b37-ab92-ea3f9665a153(en-US,BTS.10).gif

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 the BizTalk Server 2009 documentation 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

For more information about the unit testing feature introduced with BizTalk Server 2009, see the following topics in the BizTalk Server 2009 Help:

Show:
© 2014 Microsoft