<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>BizUnit - Framework for Automated Testing of Distributed Systems</title><link>http://bizunit.codeplex.com/project/feeds/rss</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, the overhead associated with developing automated tests is seen as excessive and a reason to not adopt automated testing.      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.   </description><item><title>New Post: Basic XmlValidationStep question</title><link>https://bizunit.codeplex.com/discussions/316966</link><description>&lt;div style="line-height: normal;"&gt;After checking the source code I don't think this is possible. ValidateXmlInstance is always called and it looks like this:&lt;br /&gt;
&lt;br /&gt;
private XmlDocument ValidateXmlInstance(Stream data, Context context)&lt;br /&gt;
{&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;try
{
    var settings = new XmlReaderSettings();
    foreach (var xmlSchema in _xmlSchemas)
    {
        settings.Schemas.Add(xmlSchema.XmlSchemaNameSpace, xmlSchema.XmlSchemaPath);
    }
    settings.ValidationType = ValidationType.Schema;

    XmlReader reader = XmlReader.Create(data, settings);
    var document = new XmlDocument();
    document.Load(reader);

    var eventHandler = new ValidationEventHandler(ValidationEventHandler);

    document.Validate(eventHandler);

    return document;
}
&lt;/code&gt;&lt;/pre&gt;

As you can see, document.Validate is called even if no schemas were added to the validation step. If I understood correctly, the only way to go is to modify the source code.&lt;br /&gt;
&lt;/div&gt;</description><author>maakku</author><pubDate>Fri, 17 May 2013 12:42:30 GMT</pubDate><guid isPermaLink="false">New Post: Basic XmlValidationStep question 20130517124230P</guid></item><item><title>New Post: Basic XmlValidationStep question</title><link>https://bizunit.codeplex.com/discussions/316966</link><description>&lt;div style="line-height: normal;"&gt;I would also be interested to know if this is possible without modifying the BizUnit source code. It is often the case that third party cannot provide a schema but only an example file from which the schema is generated. This kind of schema is usually not very useful for validation, because schema generator cannot get the minOccurs, maxOccurs attributes right, for example.&lt;br /&gt;
&lt;/div&gt;</description><author>maakku</author><pubDate>Fri, 17 May 2013 12:16:39 GMT</pubDate><guid isPermaLink="false">New Post: Basic XmlValidationStep question 20130517121639P</guid></item><item><title>New Post: BizUnit.TestStepExecutionException: BizUnit encountered an error executing a test step ---&gt;  System.ApplicationException: Directory does not contain the correct number of files!  Found:  0 files matching the pattern *.xml.”</title><link>https://bizunit.codeplex.com/discussions/441566</link><description>&lt;div style="line-height: normal;"&gt;&lt;hr /&gt;
Error: Exception caught!&lt;br /&gt;
BizUnit.TestStepExecutionException: BizUnit encountered an error executing a test step ---&amp;gt; System.ApplicationException: Directory does not contain the correct number of files!&lt;br /&gt;
 Found: 0 files matching the pattern *.xml.&lt;br /&gt;
   at ESRI.BizUnitSteps.TestSteps.File.ExistsStep.Execute(Context context)&lt;br /&gt;
   at BizUnit.BizUnit.ExecuteXamlTestStep(TestStepBase testStep, TestStage stage) in c:\Affinus\Depot\BizUnit\BizUnit4.0\Main\Dev\Src\BizUnit\BizUnit.cs:line 1122&lt;br /&gt;
   --- End of inner exception stack trace ---&lt;br /&gt;
   at BizUnit.BizUnit.ExecuteXamlTestStep(TestStepBase testStep, TestStage stage) in c:\Affinus\Depot\BizUnit\BizUnit4.0\Main\Dev\Src\BizUnit\BizUnit.cs:line 1138&lt;br /&gt;
   at BizUnit.BizUnit.ExecuteSteps(IEnumerable`1 testSteps, TestStage stage) in c:\Affinus\Depot\BizUnit\BizUnit4.0\Main\Dev\Src\BizUnit\BizUnit.cs:line 1087&lt;br /&gt;
&lt;hr /&gt;
Execution Stage: ended @ 02:39:50.073 25/04/2013 with ERROR's&lt;br /&gt;
&lt;br /&gt;
Test Failed&lt;br /&gt;
 &lt;br /&gt;
Please Advise&lt;br /&gt;
&lt;/div&gt;</description><author>Santucharms</author><pubDate>Thu, 25 Apr 2013 14:45:00 GMT</pubDate><guid isPermaLink="false">New Post: BizUnit.TestStepExecutionException: BizUnit encountered an error executing a test step ---&gt;  System.ApplicationException: Directory does not contain the correct number of files!  Found:  0 files matching the pattern *.xml.” 20130425024500P</guid></item><item><title>New Post: Reading and Writing Context from inside a TestCase in C# Code</title><link>http://bizunit.codeplex.com/discussions/439117</link><description>&lt;div style="line-height: normal;"&gt;Thanks all,  for this wonderful piece to test BizTalk Solution. I was wondering how to update a variable in Context from inside a test case after a teststep and read it before another teststep.&lt;br /&gt;
&lt;br /&gt;
The scenario is same given in pdf getting started. The biggest question is where is code or some sample to do this ? My scenario is to check data in multiple tables based on foreign keys generated by the code and message id's. I cant find a way to access the Context Object to set and retrieve values before any test step. What I am missing here. Using C# not XAML. &lt;br /&gt;
&lt;/div&gt;</description><author>satya007satya</author><pubDate>Thu, 04 Apr 2013 16:00:55 GMT</pubDate><guid isPermaLink="false">New Post: Reading and Writing Context from inside a TestCase in C# Code 20130404040055P</guid></item><item><title>New Post: BizUnit.XmlValidationStepEx with dependent schemas</title><link>http://bizunit.codeplex.com/discussions/226975</link><description>&lt;div style="line-height: normal;"&gt;This is caused by the schemalocation of your includes. I managed to reverse engineer the code to test a possible solution, now the project owner has to include it in the code.&lt;br /&gt;
&lt;br /&gt;
This thread is also about this issue:&lt;br /&gt;
&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/400c0a0c-967d-4670-8443-41fcf5cf8815" rel="nofollow"&gt;http://social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/400c0a0c-967d-4670-8443-41fcf5cf8815&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>JeanPaulSmit</author><pubDate>Tue, 05 Mar 2013 15:22:17 GMT</pubDate><guid isPermaLink="false">New Post: BizUnit.XmlValidationStepEx with dependent schemas 20130305032217P</guid></item><item><title>New Post: Write unit test for validating flat file schema</title><link>http://bizunit.codeplex.com/discussions/431655</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;can we validate flatfile schema using Bizunit 4.0.&lt;br /&gt;
if yes please provide sample&lt;/p&gt;
&lt;/div&gt;</description><author>MGupta</author><pubDate>Fri, 01 Feb 2013 11:17:05 GMT</pubDate><guid isPermaLink="false">New Post: Write unit test for validating flat file schema 20130201111705A</guid></item><item><title>Created Issue: The BizUnit.TestSteps.File.ExistsStep does not honor the TimeOut value [19253]</title><link>http://bizunit.codeplex.com/workitem/19253</link><description>The Execute method will throw an exception even if the timeout has not been reached&lt;br /&gt;</description><author>JakobEskar</author><pubDate>Fri, 25 Jan 2013 12:25:29 GMT</pubDate><guid isPermaLink="false">Created Issue: The BizUnit.TestSteps.File.ExistsStep does not honor the TimeOut value [19253] 20130125122529P</guid></item><item><title>Reviewed: BizUnit 4.0 (4.0.154.0) (Dec 04, 2012)</title><link>http://bizunit.codeplex.com/releases/view/66850#ReviewBy-jcooper1982</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - An excellent test framework with lots of out of the box test steps and much extensibility in that you can easily create your own custom test steps to complement the out of the box steps.  I&amp;#39;m a big fan.</description><author>jcooper1982</author><pubDate>Wed, 05 Dec 2012 00:23:24 GMT</pubDate><guid isPermaLink="false">Reviewed: BizUnit 4.0 (4.0.154.0) (Dec 04, 2012) 20121205122324A</guid></item><item><title>Created Issue: Validate a message from MSMQ test step [18881]</title><link>http://bizunit.codeplex.com/workitem/18881</link><description>i have a scenario where i need to validate a message from MSMQ&lt;br /&gt;the message is an xml one and i need to validate against a schema and aswell against a xpath..&lt;br /&gt;the xpath one is always returning all the values as a string&lt;br /&gt;</description><author>abhijitdutta</author><pubDate>Thu, 08 Nov 2012 06:39:14 GMT</pubDate><guid isPermaLink="false">Created Issue: Validate a message from MSMQ test step [18881] 20121108063914A</guid></item><item><title>Created Issue: Validation Steps Missing [18880]</title><link>http://bizunit.codeplex.com/workitem/18880</link><description>There are some validation steps which are deprecated in 4.0 but very essential like Regex,binary validator&lt;br /&gt;</description><author>abhijitdutta</author><pubDate>Thu, 08 Nov 2012 06:37:07 GMT</pubDate><guid isPermaLink="false">Created Issue: Validation Steps Missing [18880] 20121108063707A</guid></item><item><title>Created Issue: No proper WCF test step [18879]</title><link>http://bizunit.codeplex.com/workitem/18879</link><description>there is no WCF test step..only soap&amp;#47;http test tseps are provided which are not sufficient in the WCF era.&lt;br /&gt;</description><author>abhijitdutta</author><pubDate>Thu, 08 Nov 2012 06:35:59 GMT</pubDate><guid isPermaLink="false">Created Issue: No proper WCF test step [18879] 20121108063559A</guid></item><item><title>Created Issue: Problem with MAP testing with Bizunit [18859]</title><link>http://bizunit.codeplex.com/workitem/18859</link><description>While I am testing the Biz-talk Map Xpath result is concatenating all the value of each element under the Schema.&lt;br /&gt;</description><author>SoumenDatta</author><pubDate>Mon, 05 Nov 2012 14:22:36 GMT</pubDate><guid isPermaLink="false">Created Issue: Problem with MAP testing with Bizunit [18859] 20121105022236P</guid></item><item><title>Created Issue: NuGet package for BizUnit [18832]</title><link>http://bizunit.codeplex.com/workitem/18832</link><description>The MSI is great, but NuGet would make some people&amp;#39;s life a little easier.&lt;br /&gt;</description><author>schalkvanwyk</author><pubDate>Wed, 31 Oct 2012 14:31:59 GMT</pubDate><guid isPermaLink="false">Created Issue: NuGet package for BizUnit [18832] 20121031023159P</guid></item><item><title>New Post: Any thought of making a NuGet package for BizUnit?</title><link>http://bizunit.codeplex.com/discussions/362532</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Second that thought&lt;/p&gt;&lt;/div&gt;</description><author>schalkvanwyk</author><pubDate>Wed, 31 Oct 2012 14:29:08 GMT</pubDate><guid isPermaLink="false">New Post: Any thought of making a NuGet package for BizUnit? 20121031022908P</guid></item><item><title>New Post: how to test BizTalk schemas Using Bizunit 4.0</title><link>http://bizunit.codeplex.com/discussions/398757</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Can anyone please share code/link for testing Schemas using BizUnit 4.0.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;/div&gt;</description><author>srinivas545</author><pubDate>Wed, 10 Oct 2012 04:21:42 GMT</pubDate><guid isPermaLink="false">New Post: how to test BizTalk schemas Using Bizunit 4.0 20121010042142A</guid></item><item><title>New Post: UIAutomationSteps</title><link>http://bizunit.codeplex.com/discussions/398152</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can anyone suggest any resources that might help explain how the UIAutomation Steps actually work?!&lt;/p&gt;
&lt;p&gt;I'm trying to use the Storyboard Step with various Key Stroke actions, but without any form of documentation (that I'm aware of) this is proving difficult.&amp;nbsp; At the moment I'm having to debug the code to understand how to configure the step - which is
 difficult when the code isn't commented and no unit tests are present.&lt;/p&gt;
&lt;p&gt;Any resources, examples or&amp;nbsp;advice would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;
&lt;/div&gt;</description><author>JamesChapman</author><pubDate>Fri, 05 Oct 2012 11:14:24 GMT</pubDate><guid isPermaLink="false">New Post: UIAutomationSteps 20121005111424A</guid></item><item><title>Source code checked in, #94877</title><link>http://bizunit.codeplex.com/SourceControl/changeset/changes/94877</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 22:38:35 GMT</pubDate><guid isPermaLink="false">Source code checked in, #94877 20121001103835P</guid></item><item><title>Source code checked in, #94876</title><link>http://bizunit.codeplex.com/SourceControl/changeset/changes/94876</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 22:31:06 GMT</pubDate><guid isPermaLink="false">Source code checked in, #94876 20121001103106P</guid></item><item><title>New Post: Project status</title><link>http://bizunit.codeplex.com/discussions/390035</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:black; font-size:10pt"&gt;Dear Kevin,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:black; font-size:10pt"&gt;I was wondering what the status of this project is, looking at recent activity this project looks barely alive. The last release (4.0) is over a year old and contains a lot of steps that still need to
 be ported from the 3.0 version. Some comments below suggest work is still in progress, however the last signs of this are almost a year old (see:
&lt;/span&gt;&lt;span style="color:black; font-size:10pt"&gt;&lt;a href="http://bizunit.codeplex.com/discussions/265174"&gt;http://bizunit.codeplex.com/discussions/265174&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-US" style="color:black; font-size:10pt"&gt;).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:black; font-size:10pt"&gt;I personally submitted a patch September 2011 which - almost a year later - is still being evaluated and mine is not the only one... some patches are over 4 years in evaluation. If patches can't be used
 reject them, or if they are useful accept them. Leaving them for years without even a comment makes me wonder if contributions from the community are appreciated at all.
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:black; font-size:10pt"&gt;Don't get me wrong, I appreciate all the time and effort that went in this project and I think this framework has all the potential of being a great thing! In fact we are actively investigating this
 framework as a serious candidate for all our automated distributed system testing in our company. It would be very helpful to know if we can expect updates or new versions in the (near) future or that we should consider this project as-is and build our own
 framework (which may get a flying start when we take the source code instead of starting from scratch).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:black; font-size:10pt"&gt;Hope to hear from you!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:black; font-size:10pt"&gt;Kind regards&lt;br&gt;
Ferdinand&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>fkuiper</author><pubDate>Thu, 02 Aug 2012 18:55:51 GMT</pubDate><guid isPermaLink="false">New Post: Project status 20120802065551P</guid></item><item><title>New Post: Testing Map and Orchestration</title><link>http://bizunit.codeplex.com/discussions/389852</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can anyone please share code/link for testing a Map and Orchestrtion using BizUnit 4.0. Thanks.&lt;/p&gt;
&lt;p&gt;//Seth&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>Seth11</author><pubDate>Wed, 01 Aug 2012 14:26:45 GMT</pubDate><guid isPermaLink="false">New Post: Testing Map and Orchestration 20120801022645P</guid></item></channel></rss>