<?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: My Silverlight 2 blog roadmap for Summer &#8217;08</title>
	<atom:link href="http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/</link>
	<description>Silverlight, rich client apps and web development</description>
	<lastBuildDate>Fri, 30 Jul 2010 19:17:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-561</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Tue, 30 Sep 2008 07:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-561</guid>
		<description>@KierenH: You are correct. The CreateAsyncTest method is a little bit of syntax sugar on top of the same concept. It&#039;s really a psuedo-asynchronous concept.

@Inquisitorjax: The web browser test harness doesn&#039;t use MSTest, since the Silverlight CLR and the execution environment are different enough that we went with a simpler, custom engine for hte time being - while keeping the same Visual Studio Team Test metadata. I should try and finish that post someday, sorry!

@Mike,
I don&#039;t think that there&#039;s an easy way to test WPF controls today in the same manner, but I know I&#039;d love to see something happen there. My team&#039;s heavily involved in WPF as well, so if there isn&#039;t a way to do it today, rest assured we&#039;re going to work and find a solution someday.</description>
		<content:encoded><![CDATA[<p>@KierenH: You are correct. The CreateAsyncTest method is a little bit of syntax sugar on top of the same concept. It&#8217;s really a psuedo-asynchronous concept.</p>
<p>@Inquisitorjax: The web browser test harness doesn&#8217;t use MSTest, since the Silverlight CLR and the execution environment are different enough that we went with a simpler, custom engine for hte time being &#8211; while keeping the same Visual Studio Team Test metadata. I should try and finish that post someday, sorry!</p>
<p>@Mike,<br />
I don&#8217;t think that there&#8217;s an easy way to test WPF controls today in the same manner, but I know I&#8217;d love to see something happen there. My team&#8217;s heavily involved in WPF as well, so if there isn&#8217;t a way to do it today, rest assured we&#8217;re going to work and find a solution someday.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-506</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 17 Sep 2008 06:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-506</guid>
		<description>@Jeff,

Please tell me is it the same way we can test wpf controls as well or we have to do it using Visual studio test framework and how can i test wpf controls asynchronously?</description>
		<content:encoded><![CDATA[<p>@Jeff,</p>
<p>Please tell me is it the same way we can test wpf controls as well or we have to do it using Visual studio test framework and how can i test wpf controls asynchronously?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: http://inquisitorjax.blogspot.com/</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-418</link>
		<dc:creator>http://inquisitorjax.blogspot.com/</dc:creator>
		<pubDate>Wed, 27 Aug 2008 09:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-418</guid>
		<description>Jeff - you said:
&quot;One proof-of-concept project I did was get NUnit’s metadata to work within the Silverlight framework, just by creating a provider that maps NUnit metadata to generic unit test interfaces inside the Microsoft.Silverlight.Testing.dll assembly.  I’ll be documenting this unit test provider functionality in a future blog post.&quot;
can you expand a bit on this? Does this mean that you get NUnit defined tests to run against MS Test?
Looking forward to mentioned post.
Also - are there plans to enable a user to run selective tests from the test page?</description>
		<content:encoded><![CDATA[<p>Jeff &#8211; you said:<br />
&#8220;One proof-of-concept project I did was get NUnit’s metadata to work within the Silverlight framework, just by creating a provider that maps NUnit metadata to generic unit test interfaces inside the Microsoft.Silverlight.Testing.dll assembly.  I’ll be documenting this unit test provider functionality in a future blog post.&#8221;<br />
can you expand a bit on this? Does this mean that you get NUnit defined tests to run against MS Test?<br />
Looking forward to mentioned post.<br />
Also &#8211; are there plans to enable a user to run selective tests from the test page?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KierenH</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-246</link>
		<dc:creator>KierenH</dc:creator>
		<pubDate>Tue, 05 Aug 2008 02:36:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-246</guid>
		<description>Thanks Jeff. Please correct me if I&#039;m wrong, this is my understanding:
It is a mechanism for ensuring tests that interact with the visual tree run on the UI thread.
The CreateAsyncTest method in the SL2B1 controls source also makes sure the element has loaded first.</description>
		<content:encoded><![CDATA[<p>Thanks Jeff. Please correct me if I&#8217;m wrong, this is my understanding:<br />
It is a mechanism for ensuring tests that interact with the visual tree run on the UI thread.<br />
The CreateAsyncTest method in the SL2B1 controls source also makes sure the element has loaded first.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-245</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Mon, 04 Aug 2008 20:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-245</guid>
		<description>KierenH,
I have a complete draft of the asynchronous post and am just working on a few graphics to help illustrate the system.

To answer your question, most of the &quot;unit tests&quot; that shipped with the controls are borderline &quot;end-to-end&quot; or integration tests: they obviously do interact with the underlying control framework and Silverlight platform.

When working with Silverlight controls and visuals, a lot of the time it&#039;s important for those things to actually be placed within the visual tree for the events and other properties to fire and to be ready to test.

So by using the Asynchronous test system, the CreateAsyncTest can help by giving the runtime the time to place the control in the visual tree.

The asynchronous test isn&#039;t happening in another thread, but rather in the same user interface thread.  So, about 5ms after that Create call was run, the callback action to perform the assertion is called.  That is a long time in the CLR world, enough time for any pending visual tree updates and native interop to happen.

Let me know if this makes sense or not..
-Jeff</description>
		<content:encoded><![CDATA[<p>KierenH,<br />
I have a complete draft of the asynchronous post and am just working on a few graphics to help illustrate the system.</p>
<p>To answer your question, most of the &#8220;unit tests&#8221; that shipped with the controls are borderline &#8220;end-to-end&#8221; or integration tests: they obviously do interact with the underlying control framework and Silverlight platform.</p>
<p>When working with Silverlight controls and visuals, a lot of the time it&#8217;s important for those things to actually be placed within the visual tree for the events and other properties to fire and to be ready to test.</p>
<p>So by using the Asynchronous test system, the CreateAsyncTest can help by giving the runtime the time to place the control in the visual tree.</p>
<p>The asynchronous test isn&#8217;t happening in another thread, but rather in the same user interface thread.  So, about 5ms after that Create call was run, the callback action to perform the assertion is called.  That is a long time in the CLR world, enough time for any pending visual tree updates and native interop to happen.</p>
<p>Let me know if this makes sense or not..<br />
-Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KierenH</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-244</link>
		<dc:creator>KierenH</dc:creator>
		<pubDate>Mon, 04 Aug 2008 09:59:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-244</guid>
		<description>Jeff, hanging out for a deep-dive into [Asynchronous] testing.

I can see the scenario for testing async services, but would like more info on how it is used in the SL2B1 source (that ships with tests). For example, why is this testing asynchronously:
        [Asynchronous] 
        public override void FontSizeDefaultValue()
        {
            Button control = new Button(); 
            CreateAsyncTest(control, 
                () =&gt; Assert.AreEqual(11, control.FontSize, Common.HighPrecisionDelta));
        } 

Taken from ButtonTest.

Cheers</description>
		<content:encoded><![CDATA[<p>Jeff, hanging out for a deep-dive into [Asynchronous] testing.</p>
<p>I can see the scenario for testing async services, but would like more info on how it is used in the SL2B1 source (that ships with tests). For example, why is this testing asynchronously:<br />
        [Asynchronous]<br />
        public override void FontSizeDefaultValue()<br />
        {<br />
            Button control = new Button();<br />
            CreateAsyncTest(control,<br />
                () =&gt; Assert.AreEqual(11, control.FontSize, Common.HighPrecisionDelta));<br />
        } </p>
<p>Taken from ButtonTest.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-233</link>
		<dc:creator>Miguel</dc:creator>
		<pubDate>Tue, 22 Jul 2008 00:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-233</guid>
		<description>Wow, would be great to be able to get it from codeplex. 

Thanks</description>
		<content:encoded><![CDATA[<p>Wow, would be great to be able to get it from codeplex. </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-226</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Sat, 19 Jul 2008 22:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-226</guid>
		<description>Miguel,
I&#039;ve removed the debugger break statement from the code and will try and release an interim binary release soon.

I&#039;m working to get the framework out there on CodePlex with a MS-PL license, and hope to have some details when it&#039;s available.  These things always take a little longer than it feels like they should... sorry I don&#039;t have a known date yet.

Sincerely,
-Jeff</description>
		<content:encoded><![CDATA[<p>Miguel,<br />
I&#8217;ve removed the debugger break statement from the code and will try and release an interim binary release soon.</p>
<p>I&#8217;m working to get the framework out there on CodePlex with a MS-PL license, and hope to have some details when it&#8217;s available.  These things always take a little longer than it feels like they should&#8230; sorry I don&#8217;t have a known date yet.</p>
<p>Sincerely,<br />
-Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-225</link>
		<dc:creator>Miguel</dc:creator>
		<pubDate>Sat, 19 Jul 2008 16:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-225</guid>
		<description>I misundestood the use of the property. I tought, than it wouldn&#039;t break if InterceptUnhandledException was true. I looked at the code in reflector and notice the first thing it does is a Debugger.Break call inside the GlobalUnhandledExceptionListener method. 

So what happens is that on any exception, even if handled by this Listener, the debugger breaks, this includes exception thrown by asserts. 

One option is to run it without debugging, but that means, we cant debug other methods either. For failed tests and excepted exception we dont need the debugger to break. That&#039;s the behavior of other testing frameworks. 

By the way, I noticed BrowerUtility also has an InterceptUnhandledException property, but it always returns true. I guess is confusing, specially because it has a set that has no effect. 

In your post &#039;Unit Testing with Silverlight 2&#039; you mentioned you were goint to consider releasing the UTFx Source Code. Have this gone any further?</description>
		<content:encoded><![CDATA[<p>I misundestood the use of the property. I tought, than it wouldn&#8217;t break if InterceptUnhandledException was true. I looked at the code in reflector and notice the first thing it does is a Debugger.Break call inside the GlobalUnhandledExceptionListener method. </p>
<p>So what happens is that on any exception, even if handled by this Listener, the debugger breaks, this includes exception thrown by asserts. </p>
<p>One option is to run it without debugging, but that means, we cant debug other methods either. For failed tests and excepted exception we dont need the debugger to break. That&#8217;s the behavior of other testing frameworks. </p>
<p>By the way, I noticed BrowerUtility also has an InterceptUnhandledException property, but it always returns true. I guess is confusing, specially because it has a set that has no effect. </p>
<p>In your post &#8216;Unit Testing with Silverlight 2&#8242; you mentioned you were goint to consider releasing the UTFx Source Code. Have this gone any further?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-223</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Thu, 17 Jul 2008 19:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-223</guid>
		<description>Miguel,
Definitely!  Although, I actually think it is true by default right now (if you attach and look at the value, is that the case?).

There are actually a lot of situations in today&#039;s Silverlight bits where the UnhandledException handler for the Application is -not- called.  And that&#039;s where I hook up the InterceptUnhandledExceptions property...

The reason for including this property was actually for a set of tests that I have that actually test the unhandled exception property - and so I disable the property before the test, and re-enable it after that.

But my understanding is that it was True by default :-/ 

-Jeff</description>
		<content:encoded><![CDATA[<p>Miguel,<br />
Definitely!  Although, I actually think it is true by default right now (if you attach and look at the value, is that the case?).</p>
<p>There are actually a lot of situations in today&#8217;s Silverlight bits where the UnhandledException handler for the Application is -not- called.  And that&#8217;s where I hook up the InterceptUnhandledExceptions property&#8230;</p>
<p>The reason for including this property was actually for a set of tests that I have that actually test the unhandled exception property &#8211; and so I disable the property before the test, and re-enable it after that.</p>
<p>But my understanding is that it was True by default :-/ </p>
<p>-Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-222</link>
		<dc:creator>Miguel</dc:creator>
		<pubDate>Thu, 17 Jul 2008 19:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-222</guid>
		<description>Jeff, 

Could you consider making InterceptUnhandledExceptions true as default as it is in VSTS and other testing frameworks.</description>
		<content:encoded><![CDATA[<p>Jeff, </p>
<p>Could you consider making InterceptUnhandledExceptions true as default as it is in VSTS and other testing frameworks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonas Follesø</title>
		<link>http://www.jeff.wilcox.name/2008/07/my-summer-silverlight-blogging/comment-page-1/#comment-212</link>
		<dc:creator>Jonas Follesø</dc:creator>
		<pubDate>Mon, 14 Jul 2008 22:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/07/13/my-summer-silverlight-blogging/#comment-212</guid>
		<description>Hi Jeff,

Thanks for the link back. Sounds like great stuff. Really looking forward to the next revision of the testing framework. Hopefully you&#039;ll have it out before September. Doing a &quot;Silverlight 2 for developers&quot; talk at TechEd New Zealand and Sydney first week of September. Unit testing and UI patterns will be an important part of the talk, so would be cool to have some fresh bits to show :).

Keep up the good work and enjoy the Seattle summer !

Cheers,
Jonas</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>
<p>Thanks for the link back. Sounds like great stuff. Really looking forward to the next revision of the testing framework. Hopefully you&#8217;ll have it out before September. Doing a &#8220;Silverlight 2 for developers&#8221; talk at TechEd New Zealand and Sydney first week of September. Unit testing and UI patterns will be an important part of the talk, so would be cool to have some fresh bits to show <img src='http://www.jeff.wilcox.name/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Keep up the good work and enjoy the Seattle summer !</p>
<p>Cheers,<br />
Jonas</p>
]]></content:encoded>
	</item>
</channel>
</rss>
