<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Silverlight 3 unit test framework binaries available</title>
	<atom:link href="http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/</link>
	<description>Silverlight, rich client apps and web development</description>
	<lastBuildDate>Tue, 09 Mar 2010 16:48:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris Jaynes</title>
		<link>http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/comment-page-1/#comment-1717</link>
		<dc:creator>Chris Jaynes</dc:creator>
		<pubDate>Tue, 13 Oct 2009 03:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=433#comment-1717</guid>
		<description>Thanks Jeff!  I was dying for some unit testing support for Silverlight, and this really does the trick!</description>
		<content:encoded><![CDATA[<p>Thanks Jeff!  I was dying for some unit testing support for Silverlight, and this really does the trick!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carel Lotz</title>
		<link>http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/comment-page-1/#comment-1645</link>
		<dc:creator>Carel Lotz</dc:creator>
		<pubDate>Fri, 18 Sep 2009 12:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=433#comment-1645</guid>
		<description>Jeff,

What&#039;s the progress on the &quot;more information&quot; w.r.t the test automation picture.  I&#039;ve been waiting a few months now for more info on this to allow me to extract the test results and also for a better way to fire off the tests using a Continuous Integration solution.  

Currently I have to resort to screen scraping the html page to report on the results!  I&#039;ve written a custom logger that I&#039;ve plug into the testing framework, but I still don&#039;t know how to export the results to show it on our build server.

Thanks

This information would be much appreciated.</description>
		<content:encoded><![CDATA[<p>Jeff,</p>
<p>What&#8217;s the progress on the &#8220;more information&#8221; w.r.t the test automation picture.  I&#8217;ve been waiting a few months now for more info on this to allow me to extract the test results and also for a better way to fire off the tests using a Continuous Integration solution.  </p>
<p>Currently I have to resort to screen scraping the html page to report on the results!  I&#8217;ve written a custom logger that I&#8217;ve plug into the testing framework, but I still don&#8217;t know how to export the results to show it on our build server.</p>
<p>Thanks</p>
<p>This information would be much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Ørding-Thomsen</title>
		<link>http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/comment-page-1/#comment-1609</link>
		<dc:creator>Martin Ørding-Thomsen</dc:creator>
		<pubDate>Mon, 14 Sep 2009 08:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=433#comment-1609</guid>
		<description>Two suggestions:
1. It would be really nice if you included the Microsoft.Silverlight.Testing.xml file in the zip, such that we get the xml comments in intellisense. I downloaded the source files, checked the &quot;xml documentation file&quot; checkbox for the project and it works like a charm.

2. Some sort of documentation would be nice as well. Thorough documentation is perhaps too much to ask for, but an example of how to use the WorkItemTest class would be useful.</description>
		<content:encoded><![CDATA[<p>Two suggestions:<br />
1. It would be really nice if you included the Microsoft.Silverlight.Testing.xml file in the zip, such that we get the xml comments in intellisense. I downloaded the source files, checked the &#8220;xml documentation file&#8221; checkbox for the project and it works like a charm.</p>
<p>2. Some sort of documentation would be nice as well. Thorough documentation is perhaps too much to ask for, but an example of how to use the WorkItemTest class would be useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryu</title>
		<link>http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/comment-page-1/#comment-1563</link>
		<dc:creator>Ryu</dc:creator>
		<pubDate>Thu, 20 Aug 2009 06:50:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=433#comment-1563</guid>
		<description>Thank you
I have problem that Unit Test project not work properly.
It seems like Test runtime can not find ServiceReferences.ClientConfig file.

Do you have any idea?

Test method DataAccessTest.SPStorageTest.GetSubDirectoriesTest threw exception:  System.InvalidOperationException: ConfigFileMissing ---&gt;  System.Xml.XmlException: Xml_InternalError.

System.Xml.XmlXapResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext)
System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings)
System.ServiceModel.Configuration.ServiceModelSectionGroup.GetSectionGroup()
System.ServiceModel.Configuration.ServiceModelSectionGroup.GetSectionGroup()
System.ServiceModel.Configuration.ServiceModelSectionGroup.get_Current()
System.ServiceModel.Description.ConfigLoader.LookupChannel(String configurationName, String contractName, Boolean wildcard)
System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName)
System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName)
System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address)
ctor(String endpointConfigurationName, EndpointAddress remoteAddress)
ctor(String endpointConfigurationName)
CreateSimplexFactory()
CreateChannelFactory()
CreateChannelFactoryRef(EndpointTrait`1 endpointTrait)
InitializeChannelFactoryRef()
ctor()
WebDesktopPrototyping.RefSPFolder.SiteDataSoapClient..ctor() in D:\Project\KT Web Desktop\WebDesktopPrototyping\WebDesktopPrototyping\Service References\RefSPFolder\Reference.cs: line 2625
WebDesktopPrototyping.Data.SPStorage.GetSubDirectories(String directoryUrl) in D:\Project\KT Web Desktop\WebDesktopPrototyping\WebDesktopPrototyping\Data\SPStorage.cs: line 278
DataAccessTest.SPStorageTest.GetSubDirectoriesTest() in D:\Project\KT Web Desktop\WebDesktopPrototyping\DataAccessTest\SPStorageTest.cs: line 84</description>
		<content:encoded><![CDATA[<p>Thank you<br />
I have problem that Unit Test project not work properly.<br />
It seems like Test runtime can not find ServiceReferences.ClientConfig file.</p>
<p>Do you have any idea?</p>
<p>Test method DataAccessTest.SPStorageTest.GetSubDirectoriesTest threw exception:  System.InvalidOperationException: ConfigFileMissing &#8212;&gt;  System.Xml.XmlException: Xml_InternalError.</p>
<p>System.Xml.XmlXapResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)<br />
System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)<br />
System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext)<br />
System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings)<br />
System.ServiceModel.Configuration.ServiceModelSectionGroup.GetSectionGroup()<br />
System.ServiceModel.Configuration.ServiceModelSectionGroup.GetSectionGroup()<br />
System.ServiceModel.Configuration.ServiceModelSectionGroup.get_Current()<br />
System.ServiceModel.Description.ConfigLoader.LookupChannel(String configurationName, String contractName, Boolean wildcard)<br />
System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName)<br />
System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName)<br />
System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address)<br />
ctor(String endpointConfigurationName, EndpointAddress remoteAddress)<br />
ctor(String endpointConfigurationName)<br />
CreateSimplexFactory()<br />
CreateChannelFactory()<br />
CreateChannelFactoryRef(EndpointTrait`1 endpointTrait)<br />
InitializeChannelFactoryRef()<br />
ctor()<br />
WebDesktopPrototyping.RefSPFolder.SiteDataSoapClient..ctor() in D:\Project\KT Web Desktop\WebDesktopPrototyping\WebDesktopPrototyping\Service References\RefSPFolder\Reference.cs: line 2625<br />
WebDesktopPrototyping.Data.SPStorage.GetSubDirectories(String directoryUrl) in D:\Project\KT Web Desktop\WebDesktopPrototyping\WebDesktopPrototyping\Data\SPStorage.cs: line 278<br />
DataAccessTest.SPStorageTest.GetSubDirectoriesTest() in D:\Project\KT Web Desktop\WebDesktopPrototyping\DataAccessTest\SPStorageTest.cs: line 84</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/comment-page-1/#comment-1553</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Wed, 05 Aug 2009 16:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=433#comment-1553</guid>
		<description>@BigDubb,
For these scenarios, make sure to read the quick guide on async testing in the framework. What you should do is actually consider something like

- Adding a Timeout attribute, then calling TestComplete from the proper event handler you hook up
- Or, using a private bool or int to track the events being called, plus a delayed callback - EnqueueDelay - that checks and asserts that.

It isn&#039;t perfect, but that might get you started in the right direction. If you examine the open source tests from the Silverlight Toolkit, you&#039;ll see that we do some of this validation throughout the tests.</description>
		<content:encoded><![CDATA[<p>@BigDubb,<br />
For these scenarios, make sure to read the quick guide on async testing in the framework. What you should do is actually consider something like</p>
<p>- Adding a Timeout attribute, then calling TestComplete from the proper event handler you hook up<br />
- Or, using a private bool or int to track the events being called, plus a delayed callback &#8211; EnqueueDelay &#8211; that checks and asserts that.</p>
<p>It isn&#8217;t perfect, but that might get you started in the right direction. If you examine the open source tests from the Silverlight Toolkit, you&#8217;ll see that we do some of this validation throughout the tests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BigDubb</title>
		<link>http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/comment-page-1/#comment-1552</link>
		<dc:creator>BigDubb</dc:creator>
		<pubDate>Wed, 05 Aug 2009 15:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=433#comment-1552</guid>
		<description>Jeff,

I am wondering if you might have any suggestions on how one might go about building chained async events for testing.

i.e. 
- New up an object and get its contents from a datasource
- Modify the previous object
- Save the object
- Ensure that its data saved correctly

I can get the async testing to work for this in separate parts but I&#039;d like to be able to test the sequence of events. I&#039;ve tried making private async methods and this didnt work, I&#039;ve also trying enqueuing tasks on the callback function and these just blow through and aren&#039;t really &#039;reached&#039; in the traditional fashion.  If you need more information let me know. Thanks.</description>
		<content:encoded><![CDATA[<p>Jeff,</p>
<p>I am wondering if you might have any suggestions on how one might go about building chained async events for testing.</p>
<p>i.e.<br />
- New up an object and get its contents from a datasource<br />
- Modify the previous object<br />
- Save the object<br />
- Ensure that its data saved correctly</p>
<p>I can get the async testing to work for this in separate parts but I&#8217;d like to be able to test the sequence of events. I&#8217;ve tried making private async methods and this didnt work, I&#8217;ve also trying enqueuing tasks on the callback function and these just blow through and aren&#8217;t really &#8216;reached&#8217; in the traditional fashion.  If you need more information let me know. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilson Mead III</title>
		<link>http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/comment-page-1/#comment-1542</link>
		<dc:creator>Wilson Mead III</dc:creator>
		<pubDate>Fri, 31 Jul 2009 07:54:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=433#comment-1542</guid>
		<description>And I&#039;m an idiot it seems, you have a whole other post that deals with that. Dunno how I missed it searching for info on what may be up.</description>
		<content:encoded><![CDATA[<p>And I&#8217;m an idiot it seems, you have a whole other post that deals with that. Dunno how I missed it searching for info on what may be up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilson Mead III</title>
		<link>http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/comment-page-1/#comment-1541</link>
		<dc:creator>Wilson Mead III</dc:creator>
		<pubDate>Fri, 31 Jul 2009 07:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=433#comment-1541</guid>
		<description>Good fun framework. (I&#039;m a jerk who loves unit testing)

Only problem I am having that when I was testing code that spawned a background worker that lead to some asserts that while they fired, errors in the background thread and the asserts have no effect on the overall unit test (a failed assertion resulted in a passed test).

Now my guess is that the UI thread has to do the assertions, however I am dealing with a Silverlight DLL atm and not a full blown app so I don&#039;t have an easy way to get a dispatcher.

Now I don&#039;t want to say &quot;Gimme Dispatcher&quot; but this overall issue is something to possibly look into. The Visual Studio Debugger stops on failed assertions so I have a workaround for now.</description>
		<content:encoded><![CDATA[<p>Good fun framework. (I&#8217;m a jerk who loves unit testing)</p>
<p>Only problem I am having that when I was testing code that spawned a background worker that lead to some asserts that while they fired, errors in the background thread and the asserts have no effect on the overall unit test (a failed assertion resulted in a passed test).</p>
<p>Now my guess is that the UI thread has to do the assertions, however I am dealing with a Silverlight DLL atm and not a full blown app so I don&#8217;t have an easy way to get a dispatcher.</p>
<p>Now I don&#8217;t want to say &#8220;Gimme Dispatcher&#8221; but this overall issue is something to possibly look into. The Visual Studio Debugger stops on failed assertions so I have a workaround for now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro G. Dias</title>
		<link>http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/comment-page-1/#comment-1539</link>
		<dc:creator>Pedro G. Dias</dc:creator>
		<pubDate>Sun, 26 Jul 2009 09:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=433#comment-1539</guid>
		<description>So far so good! 
Easy to set up and understand.

Request for article:
How to get this unit test framework to play with continuous integration as well as calculating test coverage? (i.e. by running in TFS or TeamCity, and speaking with nCover or such :)</description>
		<content:encoded><![CDATA[<p>So far so good!<br />
Easy to set up and understand.</p>
<p>Request for article:<br />
How to get this unit test framework to play with continuous integration as well as calculating test coverage? (i.e. by running in TFS or TeamCity, and speaking with nCover or such <img src='http://www.jeff.wilcox.name/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2009/07/silverlight-3-unit-test-framework-binaries-available/comment-page-1/#comment-1530</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Fri, 17 Jul 2009 15:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=433#comment-1530</guid>
		<description>@Eamon,
Although the templates are not updated, I do need to do that. Although the code hookup mechanism has not changed, the Silverlight project files have evolved enough that I will try to update this at some point.

Reactive is a prototype assembly that allows some of the Silverlight Toolkit tests to have a more fluent nature to them.</description>
		<content:encoded><![CDATA[<p>@Eamon,<br />
Although the templates are not updated, I do need to do that. Although the code hookup mechanism has not changed, the Silverlight project files have evolved enough that I will try to update this at some point.</p>
<p>Reactive is a prototype assembly that allows some of the Silverlight Toolkit tests to have a more fluent nature to them.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
