<?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: Unit Testing with Silverlight 2</title>
	<atom:link href="http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/</link>
	<description>Silverlight, rich client apps and web development</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:09:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Valeriy Trofimov</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-7827</link>
		<dc:creator>Valeriy Trofimov</dc:creator>
		<pubDate>Mon, 08 Aug 2011 23:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-7827</guid>
		<description>I think it fails because of data source binding works differently for SL2 and SL4</description>
		<content:encoded><![CDATA[<p>I think it fails because of data source binding works differently for SL2 and SL4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valeriy Trofimov</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-7826</link>
		<dc:creator>Valeriy Trofimov</dc:creator>
		<pubDate>Mon, 08 Aug 2011 17:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-7826</guid>
		<description>I am trying to make it work with Silverlight 4 and VS2010 and I get a NullReferenceException at this line chatSession.ConnectWithRemoteUser(&quot;ScottGu&quot;);
Any ideas why? Here&#039;s code:

public Page()
{
            // commented out because it doesn&#039;t exist in the current context 
            // according to the compiler
            // InitializeComponent();

            // Retrieve ChatSession instance from XAML resource declaration
            chatSession = new ChatSession();
            chatSession = (ChatSession)Resources[&quot;ChatSessionDS&quot;];

            // Connect with Chat Server to chat with &quot;ScottGu&quot;
            chatSession.ConnectWithRemoteUser(&quot;ScottGu&quot;);
}</description>
		<content:encoded><![CDATA[<p>I am trying to make it work with Silverlight 4 and VS2010 and I get a NullReferenceException at this line chatSession.ConnectWithRemoteUser(&#8220;ScottGu&#8221;);<br />
Any ideas why? Here&#8217;s code:</p>
<p>public Page()<br />
{<br />
            // commented out because it doesn&#8217;t exist in the current context<br />
            // according to the compiler<br />
            // InitializeComponent();</p>
<p>            // Retrieve ChatSession instance from XAML resource declaration<br />
            chatSession = new ChatSession();<br />
            chatSession = (ChatSession)Resources["ChatSessionDS"];</p>
<p>            // Connect with Chat Server to chat with &#8220;ScottGu&#8221;<br />
            chatSession.ConnectWithRemoteUser(&#8220;ScottGu&#8221;);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Heath</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-7748</link>
		<dc:creator>Mark Heath</dc:creator>
		<pubDate>Tue, 28 Jun 2011 16:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-7748</guid>
		<description>forgot to say, code coverage support would be a great addition too</description>
		<content:encoded><![CDATA[<p>forgot to say, code coverage support would be a great addition too</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Heath</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-7747</link>
		<dc:creator>Mark Heath</dc:creator>
		<pubDate>Tue, 28 Jun 2011 15:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-7747</guid>
		<description>A few of bits of feedback (I&#039;m using the April 2010 release). 

- Quite a lot of the documentation and blogs I found are out of date now (including this post). I know there is a link at the top of this post, but it points you to a site that points you back here. It would be nice to see a proper update of this tutorial.

- I&#039;d also like support for Assert.Inconclusive. 

- I could do with a way to know what unit test I am currently running in an Asynchronous test (get at Method name, and Description attribute). 

- In my testing, when a usercontrol failed to be created in the [TestInitialize] method due to missing resource dictionary the test framework seemed to go ahead and run the [TestMethod] anyway which failed with a null reference exception. I&#039;d rather see the exception from [TestInitialize]. 

- It would be good to be able to re-run the unit tests without re-launching the test application (or am I missing something). 

- Another thing that would be cool for MVVM is the ability for me to create my UserControl and attach an instance of my ViewModel and be able to fail the test if any BindingExceptions were thrown. But BindingExceptions seem to get swallowed lower down in the framework.

Anyway, apart from that, its a very useful tool and hope to see it mature with future releases of Silverlight.</description>
		<content:encoded><![CDATA[<p>A few of bits of feedback (I&#8217;m using the April 2010 release). </p>
<p>- Quite a lot of the documentation and blogs I found are out of date now (including this post). I know there is a link at the top of this post, but it points you to a site that points you back here. It would be nice to see a proper update of this tutorial.</p>
<p>- I&#8217;d also like support for Assert.Inconclusive. </p>
<p>- I could do with a way to know what unit test I am currently running in an Asynchronous test (get at Method name, and Description attribute). </p>
<p>- In my testing, when a usercontrol failed to be created in the [TestInitialize] method due to missing resource dictionary the test framework seemed to go ahead and run the [TestMethod] anyway which failed with a null reference exception. I&#8217;d rather see the exception from [TestInitialize]. </p>
<p>- It would be good to be able to re-run the unit tests without re-launching the test application (or am I missing something). </p>
<p>- Another thing that would be cool for MVVM is the ability for me to create my UserControl and attach an instance of my ViewModel and be able to fail the test if any BindingExceptions were thrown. But BindingExceptions seem to get swallowed lower down in the framework.</p>
<p>Anyway, apart from that, its a very useful tool and hope to see it mature with future releases of Silverlight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-7742</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 23 Jun 2011 17:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-7742</guid>
		<description>i don&#039;t think i have any recommendations here, sorry! RIA is client-server
bridging, which is much more of a functional test rather than a unit test
for any situation.</description>
		<content:encoded><![CDATA[<p>i don&#8217;t think i have any recommendations here, sorry! RIA is client-server<br />
bridging, which is much more of a functional test rather than a unit test<br />
for any situation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro SeeK</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-7741</link>
		<dc:creator>Pedro SeeK</dc:creator>
		<pubDate>Thu, 23 Jun 2011 16:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-7741</guid>
		<description>I´ve enjoyed this tutorial, but, what about RIA, will support tests also? any link to recomend? greetings.</description>
		<content:encoded><![CDATA[<p>I´ve enjoyed this tutorial, but, what about RIA, will support tests also? any link to recomend? greetings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John wang</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-693</link>
		<dc:creator>John wang</dc:creator>
		<pubDate>Sat, 01 Nov 2008 02:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-693</guid>
		<description>Hi Jeff,
Thanks very much for your awesome toturial.
After i following your UI test, i got the following error: 
I don&#039;t know how to fix it, does any body can help me? 
Thanks in advance!

Error	2	&#039;ChatClient.Page&#039; does not contain a definition for &#039;MessageTextBox&#039; and no extension method &#039;MessageTextBox&#039; accepting a first argument of type &#039;ChatClient.Page&#039; could be found (are you missing a using directive or an assembly reference?)	C:\Project\sliverLight_test\ChatClient\Test\ClientTest.cs</description>
		<content:encoded><![CDATA[<p>Hi Jeff,<br />
Thanks very much for your awesome toturial.<br />
After i following your UI test, i got the following error:<br />
I don&#8217;t know how to fix it, does any body can help me?<br />
Thanks in advance!</p>
<p>Error	2	&#8216;ChatClient.Page&#8217; does not contain a definition for &#8216;MessageTextBox&#8217; and no extension method &#8216;MessageTextBox&#8217; accepting a first argument of type &#8216;ChatClient.Page&#8217; could be found (are you missing a using directive or an assembly reference?)	C:\Project\sliverLight_test\ChatClient\Test\ClientTest.cs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John wang</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-666</link>
		<dc:creator>John wang</dc:creator>
		<pubDate>Thu, 23 Oct 2008 09:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-666</guid>
		<description>Hi Jeff,
After some investigation in the internet, i haven&#039;t found a tool which is support for Silverlight UI testing. 
Is the unit Test Framework support UI testing,not only record and reply? Is it only use the method you described? Wire the related code to simulate the end user in brower?

thanks very much in advance.
-John</description>
		<content:encoded><![CDATA[<p>Hi Jeff,<br />
After some investigation in the internet, i haven&#8217;t found a tool which is support for Silverlight UI testing.<br />
Is the unit Test Framework support UI testing,not only record and reply? Is it only use the method you described? Wire the related code to simulate the end user in brower?</p>
<p>thanks very much in advance.<br />
-John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John wang</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-665</link>
		<dc:creator>John wang</dc:creator>
		<pubDate>Thu, 23 Oct 2008 09:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-665</guid>
		<description>Hi Jeff,
After some investigation in the internet, i haven&#039;t found a tool which is support for Silverlight UI testing. 
Is the unit Test Framework support UI testing,not only record and reply? Is it only use the method you described? Wire the related code to simulate the end user in brower?</description>
		<content:encoded><![CDATA[<p>Hi Jeff,<br />
After some investigation in the internet, i haven&#8217;t found a tool which is support for Silverlight UI testing.<br />
Is the unit Test Framework support UI testing,not only record and reply? Is it only use the method you described? Wire the related code to simulate the end user in brower?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Wynne's Blog : Getting Started with the Silverlight Unit Test Framework RC0</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-645</link>
		<dc:creator>David Wynne's Blog : Getting Started with the Silverlight Unit Test Framework RC0</dc:creator>
		<pubDate>Wed, 15 Oct 2008 08:01:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-645</guid>
		<description>[...] this is your first look at the framework, then Jeff’s post from March is a really good introduction to the top level benefits offered.&#160; That post was written for [...]</description>
		<content:encoded><![CDATA[<p>[...] this is your first look at the framework, then Jeff’s post from March is a really good introduction to the top level benefits offered.&#160; That post was written for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dwynne</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-642</link>
		<dc:creator>dwynne</dc:creator>
		<pubDate>Tue, 14 Oct 2008 11:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-642</guid>
		<description>Jeff,
Just echo&#039;ing E&#039;s question - is it possible to keep resources in App.xaml?</description>
		<content:encoded><![CDATA[<p>Jeff,<br />
Just echo&#8217;ing E&#8217;s question &#8211; is it possible to keep resources in App.xaml?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-598</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Mon, 06 Oct 2008 01:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-598</guid>
		<description>Hi Jeff . 
Thanks for the blog posts and the video. 
This looks like a valueable tool. 
One issue -  I used option 2 (installing the template) and app.xaml.cs has 2 build errors out of the box : 
1.&#039;InitializeComponent&#039; does not exist in the current context
2.Cannot implicitly convert type &#039;System.Windows.DependencyObject&#039; to &#039;System.Windows.UIElement&#039;. in the line : &quot;this.RootVisual = UnitTestSystem.CreateTestPage(this);&quot; .

I commented out the &#039;InitializeComponent&#039;  call and casted the dependency object to a UI element .  I wonder if I did something wrong on the way ? 

Thanks 
Amit</description>
		<content:encoded><![CDATA[<p>Hi Jeff .<br />
Thanks for the blog posts and the video.<br />
This looks like a valueable tool.<br />
One issue &#8211;  I used option 2 (installing the template) and app.xaml.cs has 2 build errors out of the box :<br />
1.&#8217;InitializeComponent&#8217; does not exist in the current context<br />
2.Cannot implicitly convert type &#8216;System.Windows.DependencyObject&#8217; to &#8216;System.Windows.UIElement&#8217;. in the line : &#8220;this.RootVisual = UnitTestSystem.CreateTestPage(this);&#8221; .</p>
<p>I commented out the &#8216;InitializeComponent&#8217;  call and casted the dependency object to a UI element .  I wonder if I did something wrong on the way ? </p>
<p>Thanks<br />
Amit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iva</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-587</link>
		<dc:creator>Iva</dc:creator>
		<pubDate>Fri, 03 Oct 2008 22:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-587</guid>
		<description>Hi Jeff,
You mentioned that it&#039;s possible to generate TRX files for the runs.  Can you explain a bit more on how I can get these enabled for my tests?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Jeff,<br />
You mentioned that it&#8217;s possible to generate TRX files for the runs.  Can you explain a bit more on how I can get these enabled for my tests?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: E</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-586</link>
		<dc:creator>E</dc:creator>
		<pubDate>Fri, 03 Oct 2008 19:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-586</guid>
		<description>Jeff,

Thanks for this awesome tutorial.  Quick question.  

Is there a way to keep resources (messagehistory and sendbutton)  in App.xaml instead of moving theminto Page.xaml and still get unit test to work?  

Thank you!</description>
		<content:encoded><![CDATA[<p>Jeff,</p>
<p>Thanks for this awesome tutorial.  Quick question.  </p>
<p>Is there a way to keep resources (messagehistory and sendbutton)  in App.xaml instead of moving theminto Page.xaml and still get unit test to work?  </p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sladapter</title>
		<link>http://www.jeff.wilcox.name/2008/03/silverlight2-unit-testing/comment-page-2/#comment-479</link>
		<dc:creator>sladapter</dc:creator>
		<pubDate>Fri, 05 Sep 2008 02:47:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/#comment-479</guid>
		<description>Jeff,

Never mind. I figured it out. I added another Silverlight link for this test project to my web project. Now service call is working.</description>
		<content:encoded><![CDATA[<p>Jeff,</p>
<p>Never mind. I figured it out. I added another Silverlight link for this test project to my web project. Now service call is working.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

