Charlie Mott

  Home  |   Contact  |   Syndication    |   Login
  20 Posts | 0 Stories | 20 Comments | 0 Trackbacks

News

View Charlie Mott's profile on LinkedIn



Archives

Post Categories

BizUnit

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 ......

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 ......

Article Source: http://geekswithblogs.net/c... 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. ......

Article Source: http://geekswithblogs.net/c... 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 ......

source: http://geekswithblogs.net/c... 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 ......

Article Source: http://geekswithblogs.net/c... 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 ......