Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

9. Testing BizTalk Artifacts > Unit testing a BizTalk solution with BizUnit

Unit testing a BizTalk solution with BizUnit

BizUnit is a framework for testing BizTalk artifacts. It offers a flexible and extensible declarative test framework. The BizUnit framework has no dependency on Visual Studio unit testing. Yet, you can leverage the framework in the Visual Studio Test Project.

A developer authors the BizUnit test case(s) in XML or code (BizUnit object model), and by doing so he/she configures how the test framework should execute the case(s). A test case is made up of three stages:

  • Test setup
  • Test execution
  • Test cleanup

Each stage in a test case can have zero or more test steps, and these test steps are, in general, autonomous. This means that the state can be flowed between each state if required by using the context object which is passed to each test step by the framework.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint