Geeks With Blogs
Charlie Mott BizUnit
Clean-up BizTalk BizUnit tests only on failure
This article discusses, from a BizTalk\BizUnit perspective, implementing the Channel Purger Enterprise Integration Patten to “keep 'left-over' messages on a channel from disturbing tests.” If one test fails, you may see subsequent tests also fail. This is because service instances triggered from the failed test may still be running in BizTalk. These can then produce results that conflict with the expected results of these following tests. This could include: event log messages; files arriving in ......

Posted On Wednesday, August 8, 2012 10:27 PM

Business Case for investing time developing Stubs and BizUnit Tests
I was recently in a position where I had to justify why effort should be spent developing Stubbed Integration Tests for BizTalk solutions. These tests are usually developed using the BizUnit framework. I assumed that most seasoned BizTalk developers would consider this best practice. Even though Microsoft suggest use of BizUnit on MSDN, I've not found a single site listing the justifications for investing time writing stubs and BizUnit tests. The industry average of writing unit testing code is around ......

Posted On Tuesday, June 5, 2012 10:28 PM

What type of tests are BizUnit tests?
Article Source: BizUnit is defined as a "Framework for Automated Testing of Distributed Systems." I've never seen a catchy label to describe what type of tests we create using this framework. They are not really "Unit Tests" that's for sure. "Integration Tests" might be a good definition. However, I want a label that clearly separates them from the manual "System Integration Testing" phase of a project where real instances of the integrated systems are used. ......

Posted On Wednesday, March 21, 2012 3:15 AM

Test Categories with BizUnit tests
Article Source: Often it is handy to organise BizUnit tests into test lists. This way longer running tests and edge case tests can be removed from check-in builds keep them running a bit more quickly. However, updating a .vsmdi test lists for each individual test method is time consuming. A better solution is to use the new Category attribute that comes with MSTest in .NET4 (nUnit has supported a categories feature for a while). In the TFS build processes, the ......

Posted On Friday, April 1, 2011 10:06 AM

Naming Standards for BizUnit Integration Tests
source: Roy Osherove on his blog and in his book gives guidance on the naming of unit test methods. For use with BizUnit end-to-end integration tests, I have extended these recommendations below. Implementing these conventions has the following benefits: Makes it easily to understand the purpose of the test. Make it easier to find specific tests. Gives a visual feel for integration use case test coverage. Hub-and-Spoke Solutions For hub-and-spoke solutions, an ......

Posted On Monday, July 5, 2010 6:45 AM

Stub of Dynamics AX for BizTalk Development and BizUnit Testing
Article Source: This article describes our approach to testing BizTalk integration with Dynamics AX 2009. It builds on the "Alternative Bindings" approach as described by Mike Stephenson. Alternative Bindings We are communicating asynchronous with Dynamics. As such, in our developer / unit test bindings, we have replaced use of the AIF Adapter with the MSMQ Adapter. If you are communicating synchronously, you could use the WCF Adapter. Mimic the Dynamics AIF ......

Posted On Wednesday, May 13, 2009 9:26 AM

Copyright © charlie.mott | Powered by: | Join free