<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>BizUnit - Framework for Automated Testing of Distributed Systems</title><link>http://bizunit.codeplex.com/Project/ProjectRss.aspx</link><description>The adoption of an automated testing strategy is fundamental in reducing the risk associated with software development projects, it is key to ensuring that you deliver high quality software. Often,...</description><item><title>New Post: Xml Validation - Check if Element Exists, Not Exists</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=69733</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I'm trying to create XML validation steps that check if an element exists or doesn't exist.&amp;nbsp; But, looking at the documentation around &lt;strong&gt;BizUnit.XmlValidationStep,&lt;/strong&gt; this step will only allow me to query and validation on the expected value of an existing element.&amp;nbsp; Is that right?&lt;/p&gt;&lt;/div&gt;</description><author>tolandmike</author><pubDate>Tue, 22 Sep 2009 15:38:46 GMT</pubDate><guid isPermaLink="false">New Post: Xml Validation - Check if Element Exists, Not Exists 20090922033846P</guid></item><item><title>Created Issue: Source Code Project Types Incompatible in Visual Studio 2008 [10671]</title><link>http://bizunit.codeplex.com/WorkItem/View.aspx?WorkItemId=10671</link><description>I can&amp;#39;t open any of the source code projects nor any of the sample projects in VS 2008.&lt;br /&gt;</description><author>tolandmike</author><pubDate>Tue, 22 Sep 2009 14:22:57 GMT</pubDate><guid isPermaLink="false">Created Issue: Source Code Project Types Incompatible in Visual Studio 2008 [10671] 20090922022257P</guid></item><item><title>Created Issue: DBQueryStep - Validate Multiple Rows not working [10619]</title><link>http://bizunit.codeplex.com/WorkItem/View.aspx?WorkItemId=10619</link><description>DBQuery Step doesnt work for multiple row validation&lt;br /&gt;&lt;br /&gt;Row to validate is assigned the first row from DataSet in foreach loop&lt;br /&gt;&lt;br /&gt; Source&amp;#58; DBQueryStep.cs&lt;br /&gt;public void Execute&amp;#40;Context context&amp;#41;&lt;br /&gt;&amp;#9;    &amp;#123;&lt;br /&gt;&amp;#92;&amp;#92;&amp;#92;&lt;br /&gt;                      bamDBRow &amp;#61; ds.Tables&amp;#91;0&amp;#93;.Rows&amp;#91;0&amp;#93;&amp;#59;&lt;br /&gt;&amp;#92;&amp;#92;&amp;#92;&lt;br /&gt;                    &amp;#125;&lt;br /&gt;&lt;br /&gt;Need to assign correct row from the DataSet&lt;br /&gt;</description><author>sharathk</author><pubDate>Fri, 11 Sep 2009 00:17:34 GMT</pubDate><guid isPermaLink="false">Created Issue: DBQueryStep - Validate Multiple Rows not working [10619] 20090911121734A</guid></item><item><title>New Post: Testing webservice with Bizunit</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=40144</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I exposed my orchestration as a webservice and trying to test the webservice using bizunit SOAPHTTPRequestResponseStep.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;here is my config xml&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;TestCase testName=&amp;quot;SampleTest&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;TestExecution&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;br&gt;&amp;nbsp;&lt;br&gt;&amp;nbsp;&amp;lt;TestStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;BizUnit.SOAPHTTPRequestResponseStep&amp;quot;&amp;gt;&lt;br&gt;&amp;nbsp;&amp;lt;WebServiceWSDLURL&amp;gt;http://localhost/KForce.Lookup_Proxy/KForce_Lookup_Orchestration_1_SOAPRequestRespPort.asmx?wsdl&amp;lt;/WebServiceWSDLURL&amp;gt;&lt;br&gt;&amp;nbsp;&amp;lt;ServiceName&amp;gt;KForce_Lookup_Orchestration_1_SOAPRequestRespPort&amp;lt;/ServiceName&amp;gt;&lt;br&gt;&amp;nbsp;&amp;lt;WebMethod&amp;gt;Operation_1&amp;lt;/WebMethod&amp;gt;&lt;br&gt;&amp;nbsp;&amp;lt;InputMessageTypeName&amp;gt;KForce.Lookup.RequestSOAP_0x30f8b4a5.xsd&amp;lt;/InputMessageTypeName&amp;gt;&lt;br&gt;&amp;nbsp;&amp;lt;MessagePayload&amp;gt;C:\Development\Kforcelookup.xml&amp;lt;/MessagePayload&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ValidationStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;BizUnit.XmlValidationStep&amp;quot;&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;XmlSchemaPath&amp;gt;C:\Development\KForce.Lookup\KForce.Lookup\ResponseSOAP.xsd&amp;lt;/XmlSchemaPath&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;XmlSchemaNameSpace&amp;gt;http://KForce.Lookup.ResponseSOAP&amp;lt;/XmlSchemaNameSpace&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;XPathList&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;XPathValidation query=&amp;quot;/*[local-name()='Root' and namespace-uri()='http://KForce.Lookup.ResponseSOAP']/*[local-name()='wtehours' and namespace-uri()='']&amp;quot;&amp;gt;2009-01-07T00:00:00&amp;lt;/XPathValidation&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/XPathList&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ValidationStep&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;lt;/TestStep&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&amp;lt;/TestExecution&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;TestCleanup&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/TestCleanup&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&amp;nbsp;&lt;br&gt;&amp;lt;/TestCase&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I run it using nunit gui&amp;nbsp; it gives me the following error&lt;/p&gt;
&lt;p&gt;System.TypeLoadException&amp;nbsp; Could not load type Bizunit.Proxy.KForce.Lookup.RequestSOAP_0x30f8b4a5.xsd from assemblt TestFrameWorkProxy0&lt;/p&gt;
&lt;p&gt;&amp;lt;InputMessageTypeName&amp;gt;&lt;strong&gt;&lt;span style="color:#000080"&gt;what should I be passing here&lt;/span&gt;&lt;/strong&gt;&amp;lt;/InputMessageTypeName&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Anil&lt;/p&gt;&lt;/div&gt;</description><author>mandava29</author><pubDate>Tue, 08 Sep 2009 20:14:03 GMT</pubDate><guid isPermaLink="false">New Post: Testing webservice with Bizunit 20090908081403P</guid></item><item><title>New Post: Bizunit Null reference exception when using with Visual studio 2005 professional</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=67910</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Anil,&lt;/p&gt;
&lt;p&gt;Any chance you could post the code you have written? or drop me an email via the contact on codeplex and send it offline and i can try to help. Its difficult to say what the problem could be without looking at the test you've written&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;benjy&lt;/p&gt;&lt;/div&gt;</description><author>santoshbenjamin</author><pubDate>Sat, 05 Sep 2009 16:58:40 GMT</pubDate><guid isPermaLink="false">New Post: Bizunit Null reference exception when using with Visual studio 2005 professional 20090905045840P</guid></item><item><title>New Post: Bizunit Null reference exception when using with Visual studio 2005 professional</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=67910</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Santosh,&lt;br&gt;&amp;nbsp;&lt;br&gt;It not working even in visual studio 2008 professional as well.vs 2008 prof had the test framework.&lt;br&gt;&amp;nbsp;&lt;br&gt;I am trying to execute bizunit test using nunit the error it gives me id null reference exception :object not set to instance of the object&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;anil&lt;/p&gt;&lt;/div&gt;</description><author>mandava29</author><pubDate>Fri, 04 Sep 2009 17:16:13 GMT</pubDate><guid isPermaLink="false">New Post: Bizunit Null reference exception when using with Visual studio 2005 professional 20090904051613P</guid></item><item><title>New Post: Bizunit Null reference exception when using with Visual studio 2005 professional</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=67910</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Santosh,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It not working even in visual studio 2008 professional as well.vs 2008 prof had the test framework.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am trying to execute bizunit test using nunit the error it gives me id null reference exception :object not set to instance of the object&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Anil&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>mandava29</author><pubDate>Fri, 04 Sep 2009 14:42:11 GMT</pubDate><guid isPermaLink="false">New Post: Bizunit Null reference exception when using with Visual studio 2005 professional 20090904024211P</guid></item><item><title>New Post: Bizunit Null reference exception when using with Visual studio 2005 professional</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=67910</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Anil,&lt;/p&gt;
&lt;p&gt;BizUnit can be used with NUnit, MbUnit, MStest etc. However some framework must exist. it cannot run in an ordinary class library project.&lt;/p&gt;
&lt;p&gt;Vs2005 Professional does not support MStest projects, but VS2008 profeessional (and of course team edition) does.&lt;/p&gt;
&lt;p&gt;HTH,&lt;/p&gt;
&lt;p&gt;Benjy&lt;/p&gt;&lt;/div&gt;</description><author>santoshbenjamin</author><pubDate>Fri, 04 Sep 2009 10:31:41 GMT</pubDate><guid isPermaLink="false">New Post: Bizunit Null reference exception when using with Visual studio 2005 professional 20090904103141A</guid></item><item><title>New Post: Bizunit Null reference exception when using with Visual studio 2005 professional</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=67910</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I created a class library project since I had not visual studio team system.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I added the test method and I tried to test a sample&amp;nbsp;orchestration it gives me a null reference exception.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does bizunit work with &amp;nbsp;VS 2005 professional edition.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Someone please point me in the right direction.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The same code worked in VS 2008 team edition but not working in VS2005 professional.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;can someone give me a work around&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Anil&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>mandava29</author><pubDate>Thu, 03 Sep 2009 20:05:42 GMT</pubDate><guid isPermaLink="false">New Post: Bizunit Null reference exception when using with Visual studio 2005 professional 20090903080542P</guid></item><item><title>New Post: BizUnit.DotNetObjectInvokerStep</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=66635</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;How do I store the output from&amp;nbsp;DotNetObjectInvokerStep&amp;nbsp;into a context?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am attempting to use the created GUID and use it throughout the test...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;lt;!--Create GUID--&amp;gt;&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;TestStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;BizUnit.DotNetObjectInvokerStep&amp;quot;&amp;gt;&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;TypeName&amp;gt;System.Guid&amp;lt;/TypeName&amp;gt;&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;AssemblyPath&amp;gt;&amp;lt;/AssemblyPath&amp;gt;&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;MethodToInvoke&amp;gt;NewGuid&amp;lt;/MethodToInvoke&amp;gt;&lt;/div&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/TestStep&amp;gt;&lt;/div&gt;
&lt;p&gt;
&lt;p&gt;&amp;lt;!--Create GUID--&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;TestStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;BizUnit.DotNetObjectInvokerStep&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;TypeName&amp;gt;System.Guid&amp;lt;/TypeName&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;AssemblyPath&amp;gt;&amp;lt;/AssemblyPath&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;MethodToInvoke&amp;gt;NewGuid&amp;lt;/MethodToInvoke&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/TestStep&amp;gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>sbeamish</author><pubDate>Fri, 21 Aug 2009 18:14:21 GMT</pubDate><guid isPermaLink="false">New Post: BizUnit.DotNetObjectInvokerStep 20090821061421P</guid></item><item><title>New Post: Message Context Not Supported</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=54846</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It kind of depends what your scenario is, if you want to check the message context after a message has flowed thru a pipeline the bes tway to do that is to extend Bram's pipeline step to write the BizTalk msg ctx to the BizUnit msg ctx, then you can use a validation step to check it, you could kind of do this with the existing step though its a little more fiddly since the ctx is written to disc. If you want to check the msg ctx after an orch has been executed thats a little more tricky. would be good to know more about the scenario you want to test?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Kevin&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;</description><author>kevinsmi</author><pubDate>Sun, 26 Jul 2009 06:29:15 GMT</pubDate><guid isPermaLink="false">New Post: Message Context Not Supported 20090726062915A</guid></item><item><title>New Post: BizUnit and EDI testing</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=39452</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;puneetjain2710,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BizUnit 3.1 now contains ExecuteReceivePipelineStep and ExecuteSendPipelineStep, which can be used to test your custom pipelines. See the test project in the BizUnit test solution for a sample.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Bram.&lt;/p&gt;&lt;/div&gt;</description><author>bveldhoen</author><pubDate>Thu, 23 Jul 2009 11:43:49 GMT</pubDate><guid isPermaLink="false">New Post: BizUnit and EDI testing 20090723114349A</guid></item><item><title>New Post: Message Context Not Supported</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=54846</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;yieldvs,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The ExecuteReceivePipelineStep and ExecuteSendPipelineStep have functionality that supports creating, writing to disk, and inspecting the message context. Maybe this can be of assistence?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Bram.&lt;/p&gt;&lt;/div&gt;</description><author>bveldhoen</author><pubDate>Thu, 23 Jul 2009 11:38:27 GMT</pubDate><guid isPermaLink="false">New Post: Message Context Not Supported 20090723113827A</guid></item><item><title>Updated Wiki: Home</title><link>http://bizunit.codeplex.com/Wiki/View.aspx?title=Home&amp;version=30</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;&lt;b&gt;BizUnit&lt;/b&gt;&lt;/h1&gt;The adoption of an automated testing strategy is fundamental in reducing the risk associated with software development projects, it is key to ensuring that you deliver high quality software. Often, the overhead associated with developing automated tests is seen as excessive and a reason to not adopt automated testing.&lt;br /&gt;&lt;br /&gt;BizUnit enables automated tests to be rapidly developed. BizUnit is a flexible and extensible declarative test framework targeted that rapidly enables the automated testing of distributed systems, for example it is widely used to test BizTalk solutions. BizUnit is fully extensible. Its approach is to enable test cases to be constructed from generic reusable test steps, test cases are defined in XML which allows them to be auto-generated and also enables the &amp;#8216;fixing up&amp;#8217; of Url&amp;#8217;s for different environments, e.g. test, staging and production environments. Defining test cases in XML enables test cases to be auto-generated.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;BizUnit v3.0 - RC1&lt;/b&gt; - now available, new features include a &lt;b&gt;BizUnit object&lt;/b&gt;, &lt;b&gt;Excel test case runner&lt;/b&gt;, a new &lt;b&gt;UI automation&lt;/b&gt; test step library, and pluggable logging &lt;br /&gt;&lt;br /&gt;BizUnit is a framework and as such does not have any dependency on either NUnit of VS Unit Testing, either of these make a great way to drive BizUnit test cases, though equally you could write custom code to do the same.&lt;br /&gt;
&lt;h2&gt;&lt;b&gt;Test Case Format&lt;/b&gt;&lt;/h2&gt;A test case can be represented as an Xml document or using the BizUnit object model, it is made up of three stages, &lt;b&gt;&lt;i&gt;test setup&lt;/i&gt;&lt;/b&gt;, &lt;b&gt;&lt;i&gt;test execution&lt;/i&gt;&lt;/b&gt; and &lt;b&gt;&lt;i&gt;test cleanup&lt;/i&gt;&lt;/b&gt;, the cleanup stage is always executed (even if the main execution stage fails) and intended to leave the platform in the same state that it started.&lt;br /&gt;Each stage may consist of zero or more test steps, test steps are in general autonomous, state can be flowed between them if required using the ‘context’ object that is passed to each test step by the framework.&lt;br /&gt;BizUnit also has the notion of TestGroupSetup and TestGroupTearDown, these are test cases that are executed at the beginning and end of a suite of unit tests.&lt;br /&gt;&lt;br /&gt;The diagram below illustrates the format of a test case.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=bizunit&amp;DownloadId=7771" alt="TestCase.jpg" title="TestCase.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;In addition to test steps, BizUnit has the notion of &lt;b&gt;&lt;i&gt;validation&lt;/i&gt;&lt;/b&gt; steps and &lt;b&gt;&lt;i&gt;context loader&lt;/i&gt;&lt;/b&gt; steps. These can be thought of as sub-steps and can in general be independantly executed from any test step. For example, an MSMQ-read step might be used to read and validate both Xml and Flat File data from a queue, the same step can be used with both the RegExValidationStep and the XmlValidationStep to validate the data read.&lt;br /&gt;&lt;br /&gt;A test step within a test case can be marked with the attribute - &lt;b&gt;&lt;i&gt;runConcurrently&lt;/i&gt;&lt;/b&gt; which causes subsequent test steps to be started before it has completed. In addition test steps maybe marked with the attribute - &lt;b&gt;&lt;i&gt;failOnError&lt;/i&gt;&lt;/b&gt;, setting it to false cause BizUnit to ignore a failure of that test step, this is particularly useful for the setup and cleanup stages of test cases.&lt;br /&gt;
&lt;h2&gt;&lt;b&gt;Lets look at an Example Scenario...&lt;/b&gt;&lt;/h2&gt;BizUnit takes a black box approach to testing solutions, lets look at the BizTalk scenario below, a BizTalk solution receives a request-response message over HTTP, the message is routed to an Orchestration which, sends a message to MSMQ and another to a FILE drop, the Orchestration waits for a FILE to be received, after which the Orchestration sends the response back to the waiting HTTP client. The solution also uses BAM, writing business data to the BAM database.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=bizunit&amp;DownloadId=7772" alt="BizUnitExample.jpg" title="BizUnitExample.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;In order to test this scenario, a BizUnit test case is defined that has 5 test steps:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;The HttpRequestResponseStep sends the request to the two-way receive port and waits for the response. This step is executed concurrently so that the other test steps may execute whilst it waiting for the response &lt;/li&gt;
&lt;li&gt;The MSMQReadStep waits for a message to appear on an MSMQ queue. 
&lt;ul&gt;&lt;li&gt;When it reads the message it uses the XmlValidationStep to perform schema validation and also execute a number of XPath expression to ensure the message contains the correct data &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;The FileValidateStep waits for a FILE to be written to a given directory
&lt;ul&gt;&lt;li&gt;When it reads the FILE it validates the data using the RegExValidationStep validation step since the FILE picked up was a flat file format &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;The FileCreateStep creates a new FILE in the specified directory containing the data that the backend system would typically create. This allows the Orchestration to complete and send the response back to the waiting HttpRequestResponseStep step &lt;/li&gt;
&lt;li&gt;Finally, DBQueryStep is used to check that all of the BAM data has been successfully written to the BAMPrimaryImportDB&lt;/li&gt;&lt;/ul&gt;
 
&lt;h2&gt;&lt;b&gt;Test Steps&lt;/b&gt;&lt;/h2&gt;A test step is a .NET class which implements the &lt;b&gt;&lt;i&gt;ITestStep&lt;/i&gt;&lt;/b&gt; interface:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
public interface ITestStep
{
    void Execute(XmlNode testConfig, Context context);
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;BizUnit will create and execute the test steps as dictated by the Xml test case. The test case will list the steps that need to be excuted in each stage of the test. The example below will cause BizUnit to create the &lt;i&gt;Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileCreateStep&lt;/i&gt;. BizUnit uses the &lt;b&gt;&lt;i&gt;assemblyPath&lt;/i&gt;&lt;/b&gt; and &lt;b&gt;&lt;i&gt;typeName&lt;/i&gt;&lt;/b&gt; to load and create the type:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;TestStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileCreateStep&amp;quot;&amp;gt;
    ...
&amp;lt;/TestStep&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;h3&gt;Executing Steps Concurrently&lt;/h3&gt;Test steps can be maked to execute concurrently by decorating them with the &lt;b&gt;&lt;i&gt;runConcurrently&lt;/i&gt;&lt;/b&gt; attribute:&lt;br /&gt;&lt;pre&gt;
&amp;lt;TestStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;Microsoft.Services.BizTalkApplicationFramework.BizUnit.HttpRequestResponseStep&amp;quot; runConcurrently=&amp;quot;true&amp;quot;&amp;gt;
    ...
&amp;lt;/TestStep&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;h3&gt;Reading Configuration from Context&lt;/h3&gt;BizUnit enables state to be flowed between test steps using the Context object, subsequent steps may read configuration from the Context object which was written by a previous test step, this is acheived using the &lt;b&gt;&lt;i&gt;takeFromCtx&lt;/i&gt;&lt;/b&gt; attribute within a steps configuration. For example:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;TestStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;Microsoft.Services.BizTalkApplicationFramework.BizUnit.HttpPostStep&amp;quot;&amp;gt;
    &amp;lt;SourcePath&amp;gt;.\TestData\InDoc1.xml&amp;lt;/SourcePath&amp;gt;    
    &amp;lt;DestinationUrl takeFromCtx=&amp;quot;HTTPDest&amp;quot;&amp;gt;http://localhost/TestFrameworkDemo/BTSHTTPReceive.dll&amp;lt;/DestinationUrl&amp;gt;
    &amp;lt;RequestTimeout&amp;gt;60000&amp;lt;/RequestTimeout&amp;gt;
&amp;lt;/TestStep&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;h3&gt;&lt;b&gt;Wild Cards&lt;/b&gt;&lt;/h3&gt;BizUnit supports wild card for reading configuration, the following wild cards are supported&lt;br /&gt; 
&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;%DateTime%&lt;/i&gt;&lt;/b&gt; - will replace the wild card with the current date time in the format HHmmss-ddMMyyyy &lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;i&gt;%ServerName%&lt;/i&gt;&lt;/b&gt; - will replace the wild card with the name of the server BizUnit is being executed on &lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;i&gt;%Guid%&lt;/i&gt;&lt;/b&gt; - will be replaced by a new Guid&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;For example, for the test step configuration below:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;TestStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileCreateStep&amp;quot;&amp;gt;
    &amp;lt;SourcePath&amp;gt;..\..\..\TestData\InDoc1.xml&amp;lt;/SourcePath&amp;gt;         
    &amp;lt;CreationPath&amp;gt;..\..\..\Rec_03\TransactionId_%Guid%_%ServerName%.xml&amp;lt;/CreationPath&amp;gt;
&amp;lt;/TestStep&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;CreationPath becomes &lt;i&gt;&amp;quot;..\..\..\Rec&lt;/i&gt;03\TransactionId&lt;i&gt;12345678-D6AB-4aa9-A772-938972E3FD51&lt;/i&gt;ZEUS001.xml&amp;quot;_&lt;br /&gt;
&lt;h2&gt;Validation Steps&lt;/h2&gt;BizUnit supports the notion of validation steps which may be nested within test steps which support validation. This means that an MSMQ read step may use an XML validation step or a regular expression validation step to validate the data that it receives. Validation steps need to implement the &lt;b&gt;&lt;i&gt;IValidationStep&lt;/i&gt;&lt;/b&gt; interface. &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
public interface IValidationStep
{
    void ExecuteValidation(Stream data, XmlNode validatorConfig, Context context);
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;A test step may use the Context object utilities to execute the appropriate validation step as shown below:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
public void Execute(XmlNode testConfig, Context context)
{
    XmlNode validationConfig = testConfig.SelectSingleNode(&amp;quot;ValidationStep&amp;quot;);
    MemoryStream data = null;

    ...

    context.ExecuteValidator( data, validationConfig );
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The test step snippet below illustrates how a validation step is embeded in a file read step:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
&amp;lt;TestStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileValidateStep&amp;quot;&amp;gt;
    &amp;lt;Timeout&amp;gt;3000&amp;lt;/Timeout&amp;gt;
    &amp;lt;Directory&amp;gt;..\..\..\Rec_03\&amp;lt;/Directory&amp;gt;
    &amp;lt;SearchPattern&amp;gt;TransactionId_*.xml&amp;lt;/SearchPattern&amp;gt;
    &amp;lt;DeleteFile&amp;gt;true&amp;lt;/DeleteFile&amp;gt;
			
    &amp;lt;ValidationStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;Microsoft.Services.BizTalkApplicationFramework.BizUnit.XmlValidationStep&amp;quot;&amp;gt;
        &amp;lt;XmlSchemaPath&amp;gt;..\..\..\TestData\PurchaseOrder.xsd&amp;lt;/XmlSchemaPath&amp;gt;
        &amp;lt;XmlSchemaNameSpace&amp;gt;http://SendMail.PurchaseOrder&amp;lt;/XmlSchemaNameSpace&amp;gt;
        &amp;lt;XPathList&amp;gt;
            &amp;lt;XPathValidation query=
                &amp;quot;/*[local-name()='PurchaseOrder' and namespace-uri()='http://SendMail.PurchaseOrder']
                /*[local-name()='PONumber' and namespace-uri()='']&amp;quot;&amp;gt;PONumber_0&amp;lt;/XPathValidation&amp;gt;
        &amp;lt;/XPathList&amp;gt;
    &amp;lt;/ValidationStep&amp;gt;			
&amp;lt;/TestStep&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Context Loader Steps&lt;/h2&gt;Similarly, BizUnit supports context loader steps, which are responsible for loading data into the BizUnit context. These types of need to implement the &lt;b&gt;&lt;i&gt;IContextLoaderStep&lt;/i&gt;&lt;/b&gt; interface as shown below:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
public interface IContextLoaderStep
{
    void ExecuteContextLoader(Stream data, XmlNode contextConfig, Context context);
}
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;&lt;b&gt;Getting Started&lt;/b&gt;&lt;/h2&gt;The best way to get started is to download the latest version, install it and then take a look at the SDK samples. All the source is currently included, so feel free to take a closer look at the code. All the test steps along with the framework itself are documented in the .CHM that is installed.&lt;br /&gt;&lt;br /&gt;Finally, my apologies for the shameless plug :-), but Chapter 8 of &lt;b&gt;&lt;i&gt;&lt;a href="http://www.amazon.com/Professional-BizTalk-Server-Darren-Jefford/dp/0470046422/ref=pd_bbs_sr_4/103-9081803-2555041?ie=UTF8&amp;amp;s=books&amp;amp;qid=1172915706&amp;amp;sr=8-4" class="externalLink"&gt;Professional BizTalk Server 2006&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;/b&gt; book which I co-authored discusses in more detail how BizUnit may be used as an integral part of your development process, and how it may be used to drive stress and performance testing. &lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=bizunit&amp;DownloadId=11374" alt="BizTalk2006Book.jpg" title="BizTalk2006Book.jpg" /&gt;&lt;br /&gt;
&lt;h2&gt;&lt;b&gt;Acknowledgments&lt;/b&gt;&lt;/h2&gt;I'd like to thanks the follwing people who have contributed to BizUnit in some way, either by donating test steps, identifying bugs, or by providing requirements which have subsequently been implemented. I may have missed some people off, if so, it's not intensional, please drop me a mail to remind me:&lt;br /&gt;&lt;br /&gt;Iain Bapty&lt;br /&gt;Dharshana Kalahejagoda &lt;br /&gt;Jon Fancey&lt;br /&gt;Isaac Young&lt;br /&gt;Mike Becker&lt;br /&gt;Tanveer Rashid&lt;br /&gt;Young Jun Hong&lt;br /&gt;Dave Regan&lt;br /&gt;Ian Cross&lt;br /&gt;Greg Beach&lt;br /&gt;Daren Jefford&lt;br /&gt;Kevin Purcell&lt;br /&gt;Karina Apostolides&lt;br /&gt;Jon Bonnick&lt;br /&gt;Brian Milburn&lt;br /&gt;Rahmatullah Khan&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>kevinsmi</author><pubDate>Wed, 08 Jul 2009 20:34:00 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090708083400P</guid></item><item><title>New Post: Can't set BizUnit instance logger?</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=39393</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This was a bug, it should be fixed in the latest version,&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Kevin&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;</description><author>kevinsmi</author><pubDate>Wed, 08 Jul 2009 20:31:46 GMT</pubDate><guid isPermaLink="false">New Post: Can't set BizUnit instance logger? 20090708083146P</guid></item><item><title>New Post: The test step could not be created, check the test step type and assembly path are correct</title><link>http://bizunit.codeplex.com/Thread/View.aspx?ThreadId=61280</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BizUnit uses reflection to load test steps, you can either specify the typename or the typename + assembly path for the step.&amp;nbsp;v3.0 had some out of date test cases in the &amp;quot;SampleSolutionFunctionalTests&amp;quot;, specifically&amp;nbsp;&lt;strong&gt;Test_Setup.xml &lt;/strong&gt;wasn't correctly specifying the typename of the HostConductorStep, this should be fixed in v3.1 where the TestStep is defined as follows:&lt;/p&gt;
&lt;p&gt;&amp;lt;TestStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;&lt;strong&gt;BizUnit.BizTalkSteps.HostConductorStep, BizUnit.BizTalkSteps, Version=3.1.0.0, Culture=neutral, PublicKeyToken=7eb7d82981ae5162&lt;/strong&gt;&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note, you can fix up v3.0 by changing the version number above to:&lt;/p&gt;
&lt;p&gt;&amp;lt;TestStep assemblyPath=&amp;quot;&amp;quot; typeName=&amp;quot;BizUnit.BizTalkSteps.HostConductorStep, BizUnit.BizTalkSteps, Version=3.0.0.0, Culture=neutral, PublicKeyToken=7eb7d82981ae5162&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Kevin&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;</description><author>kevinsmi</author><pubDate>Wed, 08 Jul 2009 20:25:30 GMT</pubDate><guid isPermaLink="false">New Post: The test step could not be created, check the test step type and assembly path are correct 20090708082530P</guid></item><item><title>Created Release: 3.1.1001.0 (Jul 06, 2009)</title><link>http://bizunit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=29779</link><description>&lt;div&gt;&lt;h1&gt;BizUnit 3.1.1001.0&lt;/h1&gt;
The following steps have been added, thanks to &lt;b&gt;Bram Veldhoen&lt;/b&gt; for contributing these:&lt;br&gt;&lt;b&gt;BizTalkSteps/ExecuteMapStep&lt;/b&gt;&lt;br&gt;&lt;b&gt;BizTalkSteps/ExecuteReceivePipelineStep&lt;/b&gt;&lt;br&gt;&lt;b&gt;BizTalkSteps/ExecuteSendPipelineStep&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;Bug fixes&lt;/b&gt;: &lt;br&gt; *FileDeleteMultipleStep was not working when being executed via Xml configuration&lt;br&gt; *Bug fix: XmlValidationStepEx was not initialising the collection xPathValidations correctly&lt;br&gt; *Bug fix: MsmqWriteStep - added support to write to non-transactional queues&lt;br&gt;&lt;/div&gt;</description><author>kevinsmi</author><pubDate>Mon, 06 Jul 2009 21:39:49 GMT</pubDate><guid isPermaLink="false">Created Release: 3.1.1001.0 (Jul 06, 2009) 20090706093949P</guid></item><item><title>Released: 3.1.1001.0 (Jul 06, 2009)</title><link>http://bizunit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=29779</link><description>&lt;div&gt;&lt;h1&gt;BizUnit 3.1.1001.0&lt;/h1&gt;
The following steps have been added, thanks to &lt;b&gt;Bram Veldhoen&lt;/b&gt; for contributing these:&lt;br&gt;&lt;b&gt;BizTalkSteps/ExecuteMapStep&lt;/b&gt;&lt;br&gt;&lt;b&gt;BizTalkSteps/ExecuteReceivePipelineStep&lt;/b&gt;&lt;br&gt;&lt;b&gt;BizTalkSteps/ExecuteSendPipelineStep&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;Bug fixes&lt;/b&gt;: &lt;br&gt; *FileDeleteMultipleStep was not working when being executed via Xml configuration&lt;br&gt; *Bug fix: XmlValidationStepEx was not initialising the collection xPathValidations correctly&lt;br&gt; *Bug fix: MsmqWriteStep - added support to write to non-transactional queues&lt;br&gt;&lt;/div&gt;</description><author></author><pubDate>Mon, 06 Jul 2009 21:39:49 GMT</pubDate><guid isPermaLink="false">Released: 3.1.1001.0 (Jul 06, 2009) 20090706093949P</guid></item><item><title>Commented Issue: XMLValidationStepEx ExecuteValidation throws NullReferenceException</title><link>http://bizunit.codeplex.com/WorkItem/View.aspx?WorkItemId=10243</link><description>private IList&amp;#60;Pair&amp;#62; xPathValidations gets never initialized. &lt;br /&gt;&lt;br /&gt;As a result method public void ExecuteValidation&amp;#40;Stream data, XmlNode validatorConfig, Context context&amp;#41; always throws NullReferenceException.&lt;br /&gt;Comments: ** Comment from web user: maakku ** &lt;p&gt;Sorry, not always, only if there are xpath expressions involved.&lt;/p&gt;</description><author>maakku</author><pubDate>Thu, 02 Jul 2009 13:20:27 GMT</pubDate><guid isPermaLink="false">Commented Issue: XMLValidationStepEx ExecuteValidation throws NullReferenceException 20090702012027P</guid></item><item><title>Created Issue: XMLValidationStepEx ExecuteValidation throws NullReferenceException</title><link>http://bizunit.codeplex.com/WorkItem/View.aspx?WorkItemId=10243</link><description>private IList&amp;#60;Pair&amp;#62; xPathValidations gets never initialized. &lt;br /&gt;&lt;br /&gt;As a result method public void ExecuteValidation&amp;#40;Stream data, XmlNode validatorConfig, Context context&amp;#41; always throws NullReferenceException.&lt;br /&gt;</description><author>maakku</author><pubDate>Thu, 02 Jul 2009 13:16:36 GMT</pubDate><guid isPermaLink="false">Created Issue: XMLValidationStepEx ExecuteValidation throws NullReferenceException 20090702011636P</guid></item></channel></rss>