Unit Testing with BizTalk Server Projects
BizTalk Server 2010 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.
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
Related Sections
"Microsoft.BizTalk.TestTools" could not be located on local machine's
file system, so it's impossible to determine if its deployment is required
prior to deployment of current assembly, register it in GAC or add it as a
resource to any application in the group using BizTalk Management Console or
btstask.exe specifying type "System.BizTalk:Assembly", then try
again.
This error occurs on a (production) machine with doesn't has the BizTalk
developers Tools installed. Disable Unit Test in project propertjes for
Release Build.
- 12/13/2011
- R. de Veen