Out of the box Biztalk unit testing supports only schemas, maps and pipelines. Yet frameworks developed by community like BizUnit, BizMock and Bizmonade support also unit testing of orchestrations. With combination of out of box unit testing through Visual Studio and these frameworks a developer has the tools to test his BizTalk solution. This article will provide with references to the resources enabling you to be productive when it comes to unit testing your solution.
With Visual Studio 2008 the unit test functionality became available and supported unit testing with BizTalk Server 2009 projects. The unit testing feature enables developers to create unit tests for schemas, maps, and pipelines. The following resources will give you guidance on unit testing these artefacts with Visual Studio:
Other frameworks that can be used for unit testing are BizUnit, and BizMock that works seamlessly with Visual Studio unit testing capabilities. Both frameworks are not supported by Microsoft. They are available and supported through CodePlex. The following resource links can provide guidance on how to work with these frameworks:
An alternative to BizUnit or BizMock is Bizmonade. This is a project that being developed to enable unit testing of BizTalk orchestrations, in isolation of other components, without deploying the orchestrations to BizTalk and without doing any configuration (bindings). Subsequently there is also a framework target on unit testing BizTalk Maps called BizTalk Map Test Framework. This framework enables developers to perform tests on their maps using template files and Xpath queries. Finally there is also Pipeline Test Library that enables you to test pipeline and pipeline components.
Another important place to find a huge amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki. The following resources will provide useful information on unit testing BizTalk Server projects:
Maheshkumar S Tiwari edited Revision 21. Comment: Minor formatting around See also
Steef-Jan Wiggers edited Revision 17. Comment: Minor edits
Sandro Pereira edited Revision 16. Comment: Fixing TOC
Steef-Jan Wiggers edited Revision 15. Comment: Added resource link BizTalk Server 2013
Richard Mueller edited Revision 14. Comment: Removed (en-US) from title, added tags
Steef-Jan Wiggers edited Revision 11. Comment: Formatting
Steef-Jan Wiggers edited Revision 7. Comment: Corrected link
Steef-Jan Wiggers edited Revision 6. Comment: Added resource links to see also
Steef-Jan Wiggers edited Revision 5. Comment: Added text and resource links to Unit testing with Frameworks BizUnit and BizMock topic
Steef-Jan Wiggers edited Revision 4. Comment: Added text to other frameworks topic
Steef-Jan Wiggers edited Original. Comment: Added text to introduction
Steef-Jan Wiggers edited Revision 1. Comment: Added topic unit testing with Visual Studio and resource links
Steef-Jan Wiggers edited Revision 2. Comment: Added resource links on See Also Topic
Great article. Bizmonade unfortunately seems to have ceased being developed, which is a real shame as it showed great promise.
you seem to have covered the importent topics, great work!
Very useful article